Mercurial > mplayer.hg
comparison asf.h @ 871:ab94c4cf96d8
Continue implementation of ASF streaming.
author | bertrand |
---|---|
date | Fri, 25 May 2001 14:01:21 +0000 |
parents | b8cecdc0c67f |
children | 11879db9d4cc |
comparison
equal
deleted
inserted
replaced
870:f641c96e431b | 871:ab94c4cf96d8 |
---|---|
1 #ifndef ASF_H | 1 #ifndef ASF_H |
2 #define ASF_H | 2 #define ASF_H |
3 | 3 |
4 #include <inttypes.h> | 4 #include <inttypes.h> |
5 | |
6 #ifndef MIN | |
7 #define MIN(a,b) ((a<b)?a:b) | |
8 #endif | |
5 | 9 |
6 /////////////////////// | 10 /////////////////////// |
7 // MS GUID definition | 11 // MS GUID definition |
8 /////////////////////// | 12 /////////////////////// |
9 #ifndef GUID_DEFINED | 13 #ifndef GUID_DEFINED |
90 ////////////////////// | 94 ////////////////////// |
91 // ASF Stream Chunck | 95 // ASF Stream Chunck |
92 ////////////////////// | 96 ////////////////////// |
93 typedef struct __attribute__((packed)) { | 97 typedef struct __attribute__((packed)) { |
94 uint16_t type; | 98 uint16_t type; |
95 uint16_t length; | 99 uint16_t size; |
96 uint32_t sequence_number; | 100 uint32_t sequence_number; |
97 uint16_t unknown; | 101 uint16_t unknown; |
98 uint16_t length2; | 102 uint16_t size_confirm; |
99 } ASF_stream_chunck_t; | 103 } ASF_stream_chunck_t; |
100 | 104 |
101 | 105 |
102 // Definition of the differents type of ASF streaming | 106 // Definition of the differents type of ASF streaming |
103 typedef enum { | 107 typedef enum { |