diff options
author | Calcium <calcium@nurs.or.jp> | 2005-03-23 13:30:27 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-03-23 13:30:27 +0000 |
commit | 982e53fe449b91a9f96f151e1ccc372247b4f14f (patch) | |
tree | fba28b6643f6db236d31f681c41306b1d2c59070 /libavformat/asf.h | |
parent | c64d476ccde1682728e693c750bcc96129defd0c (diff) | |
download | ffmpeg-982e53fe449b91a9f96f151e1ccc372247b4f14f.tar.gz |
31_ASF_compatibility_with_WMP_and_add_index.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4073 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.h')
-rw-r--r-- | libavformat/asf.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libavformat/asf.h b/libavformat/asf.h index f66c25b9dc..5a13c85b76 100644 --- a/libavformat/asf.h +++ b/libavformat/asf.h @@ -72,6 +72,12 @@ typedef struct { typedef struct { + uint32_t packet_number; + uint16_t packet_count; +} ASFIndex; + + +typedef struct { uint32_t seqno; unsigned int packet_size; int is_streamed; @@ -114,6 +120,14 @@ typedef struct { int packet_pos; int stream_index; + + + int64_t last_indexed_pts; + ASFIndex* index_ptr; + uint32_t nb_index_count; + uint32_t nb_index_memory_alloc; + uint16_t maximum_packet; + ASFStream* asf_st; /* currently decoded stream */ } ASFContext; @@ -139,6 +153,10 @@ static const GUID audio_conceal_none = { 0x20fb5700, 0x5b55, 0x11cf, { 0xa8, 0xfd, 0x00, 0x80, 0x5f, 0x5c, 0x44, 0x2b }, }; +static const GUID audio_conceal_spread = { + 0xBFC3CD50, 0x618F, 0x11CF, { 0x8B, 0xB2, 0x00, 0xAA, 0x00, 0xB4, 0xE2, 0x20 }, +}; + static const GUID video_stream = { 0xBC19EFC0, 0x5B4D, 0x11CF, { 0xA8, 0xFD, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B }, }; @@ -175,6 +193,10 @@ static const GUID extended_content_header = { 0xD2D0A440, 0xE307, 0x11D2, { 0x97, 0xF0, 0x00, 0xA0, 0xC9, 0x5E, 0xA8, 0x50 }, }; +static const GUID simple_index_header = { + 0x33000890, 0xE5B1, 0x11CF, { 0x89, 0xF4, 0x00, 0xA0, 0xC9, 0x03, 0x49, 0xCB }, +}; + /* I am not a number !!! This GUID is the one found on the PC used to generate the stream */ static const GUID my_guid = { |