diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-07-12 18:42:00 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-07-12 18:42:00 +0000 |
commit | 0bef08e5169fb3bd45346ff1b3328ce6df5262ab (patch) | |
tree | 8a5b3527c3651598ccaa6ec76e282320f68e8c55 /libavformat/avformat.h | |
parent | 3e86dba24b61527ecbd1780f3f7d3bd159c203d9 (diff) | |
download | ffmpeg-0bef08e5169fb3bd45346ff1b3328ce6df5262ab.tar.gz |
New codec probing system try #1.
Originally committed as revision 14184 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 500c0cf377..23450af1bd 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -391,6 +391,8 @@ typedef struct AVStream { char *filename; /**< source filename of the stream */ int disposition; /**< AV_DISPOSITION_* bitfield */ + + AVProbeData probe_data; } AVStream; #define AV_PROGRAM_RUNNING 1 @@ -555,6 +557,14 @@ typedef struct AVFormatContext { */ int debug; #define FF_FDEBUG_TS 0x0001 + + /** + * raw packets from the demuxer, prior to parsing and decoding. + * This buffer is used for buffering packets until the codec can + * be identified, as parsing cannot be done without knowing the + * codec. + */ + struct AVPacketList *raw_packet_buffer; } AVFormatContext; typedef struct AVPacketList { |