Mercurial > mplayer.hg
diff asf.h @ 871:ab94c4cf96d8
Continue implementation of ASF streaming.
author | bertrand |
---|---|
date | Fri, 25 May 2001 14:01:21 +0000 |
parents | b8cecdc0c67f |
children | 11879db9d4cc |
line wrap: on
line diff
--- a/asf.h Fri May 25 13:58:32 2001 +0000 +++ b/asf.h Fri May 25 14:01:21 2001 +0000 @@ -3,6 +3,10 @@ #include <inttypes.h> +#ifndef MIN +#define MIN(a,b) ((a<b)?a:b) +#endif + /////////////////////// // MS GUID definition /////////////////////// @@ -92,10 +96,10 @@ ////////////////////// typedef struct __attribute__((packed)) { uint16_t type; - uint16_t length; + uint16_t size; uint32_t sequence_number; uint16_t unknown; - uint16_t length2; + uint16_t size_confirm; } ASF_stream_chunck_t;