Mercurial > libavcodec.hg
changeset 11770:6d58a4f5e455 libavcodec
Add an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets once and only once.
author | alexc |
---|---|
date | Wed, 26 May 2010 04:20:32 +0000 |
parents | 847502a2f850 |
children | 3c0dffc64d86 |
files | avcodec.h h264_parser.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/avcodec.h Tue May 25 23:25:29 2010 +0000 +++ b/avcodec.h Wed May 26 04:20:32 2010 +0000 @@ -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 @@ 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];