diff options
author | Alex Converse <alex.converse@gmail.com> | 2010-05-26 04:20:32 +0000 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2010-05-26 04:20:32 +0000 |
commit | 74a6df59e3bc206931e8e7270c4bb6af77c6e5dc (patch) | |
tree | d18c34e54a3c4e7546dba4ad2004463faaeac263 /libavcodec/avcodec.h | |
parent | 9069b7d35fba37e0e0d9dbb44f03c10ff2e50acf (diff) | |
download | ffmpeg-74a6df59e3bc206931e8e7270c4bb6af77c6e5dc.tar.gz |
Add an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets once and only once.
Originally committed as revision 23332 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 435b0fb702..239f605b65 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -30,7 +30,7 @@ #include "libavutil/avutil.h" #define LIBAVCODEC_VERSION_MAJOR 52 -#define LIBAVCODEC_VERSION_MINOR 69 +#define LIBAVCODEC_VERSION_MINOR 70 #define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ @@ -3649,6 +3649,7 @@ typedef struct AVCodecParserContext { int flags; #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 +#define PARSER_FLAG_ONCE 0x0002 int64_t offset; ///< byte offset from starting packet start int64_t cur_frame_end[AV_PARSER_PTS_NB]; |