Mercurial > mplayer.hg
comparison libmpdemux/asf.h @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | d643e4643313 |
children | f01023c524c3 |
comparison
equal
deleted
inserted
replaced
29262:7d545a6b8aff | 29263:0f1b5b68af32 |
---|---|
23 #include <inttypes.h> | 23 #include <inttypes.h> |
24 #include "libavutil/common.h" | 24 #include "libavutil/common.h" |
25 #include "mpbswap.h" | 25 #include "mpbswap.h" |
26 | 26 |
27 /////////////////////// | 27 /////////////////////// |
28 // ASF Object Header | 28 // ASF Object Header |
29 /////////////////////// | 29 /////////////////////// |
30 typedef struct __attribute__((packed)) { | 30 typedef struct __attribute__((packed)) { |
31 uint8_t guid[16]; | 31 uint8_t guid[16]; |
32 uint64_t size; | 32 uint64_t size; |
33 } ASF_obj_header_t; | 33 } ASF_obj_header_t; |
34 | 34 |
35 //////////////// | 35 //////////////// |
36 // ASF Header | 36 // ASF Header |
37 //////////////// | 37 //////////////// |
38 typedef struct __attribute__((packed)) { | 38 typedef struct __attribute__((packed)) { |
39 ASF_obj_header_t objh; | 39 ASF_obj_header_t objh; |
40 uint32_t cno; // number of subchunks | 40 uint32_t cno; // number of subchunks |
41 uint8_t v1; // unknown (0x01) | 41 uint8_t v1; // unknown (0x01) |
42 uint8_t v2; // unknown (0x02) | 42 uint8_t v2; // unknown (0x02) |
43 } ASF_header_t; | 43 } ASF_header_t; |
44 | 44 |
45 ///////////////////// | 45 ///////////////////// |
46 // ASF File Header | 46 // ASF File Header |
47 ///////////////////// | 47 ///////////////////// |
48 typedef struct __attribute__((packed)) { | 48 typedef struct __attribute__((packed)) { |
49 uint8_t stream_id[16]; // stream GUID | 49 uint8_t stream_id[16]; // stream GUID |
50 uint64_t file_size; | 50 uint64_t file_size; |
51 uint64_t creation_time; //File creation time FILETIME 8 | 51 uint64_t creation_time; //File creation time FILETIME 8 |
82 uint16_t comment_size; | 82 uint16_t comment_size; |
83 uint16_t rating_size; | 83 uint16_t rating_size; |
84 } ASF_content_description_t; | 84 } ASF_content_description_t; |
85 | 85 |
86 //////////////////////// | 86 //////////////////////// |
87 // ASF Segment Header | 87 // ASF Segment Header |
88 //////////////////////// | 88 //////////////////////// |
89 typedef struct __attribute__((packed)) { | 89 typedef struct __attribute__((packed)) { |
90 uint8_t streamno; | 90 uint8_t streamno; |
91 uint8_t seq; | 91 uint8_t seq; |
92 uint32_t x; | 92 uint32_t x; |