diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-31 00:24:06 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-31 00:24:06 +0000 |
commit | 86cb7e33cc9157d1cd093d48b78ae4590cd03198 (patch) | |
tree | 0c7c4aeeb9562e32b4f8fdfb712b9375585960df /libavformat/avformat.h | |
parent | 2b9969a945584cd057bd47e3679869dcdc248192 (diff) | |
download | ffmpeg-86cb7e33cc9157d1cd093d48b78ae4590cd03198.tar.gz |
fix codec probing, stop after MAX_PROBE_PACKETS and return all packets
Originally committed as revision 19000 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 30caea3235..b22cdce60b 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -22,7 +22,7 @@ #define AVFORMAT_AVFORMAT_H #define LIBAVFORMAT_VERSION_MAJOR 52 -#define LIBAVFORMAT_VERSION_MINOR 33 +#define LIBAVFORMAT_VERSION_MINOR 34 #define LIBAVFORMAT_VERSION_MICRO 0 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ @@ -443,6 +443,13 @@ typedef struct AVStream { * AV_NOPTS_VALUE by default. */ int64_t reference_dts; + + /** + * Number of packets to buffer for codec probing + * NOT PART OF PUBLIC API + */ +#define MAX_PROBE_PACKETS 100 + int probe_packets; } AVStream; #define AV_PROGRAM_RUNNING 1 |