summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-06-02 14:23:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-06-02 14:23:25 +0000
commit5c027f8866bca84ff8416e2867fbe0b7db1dd1bd (patch)
treea7654b082992212e25006b86802a57a5ca5a9b07 /libavcodec/avcodec.h
parentebdd73778c56d07caa57c236d11ee3df3ee1004c (diff)
Move new field to the end to avoid ABI breakage, I thought this struct
is not used from the outside but after rethinking it of course has to be used if someone wants to use a parser without a lavf demuxer. Originally committed as revision 13625 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 87d344cb9f..c87d683e7a 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2837,7 +2837,6 @@ typedef struct AVCodecParserContext {
#define AV_PARSER_PTS_NB 4
int cur_frame_start_index;
int64_t cur_frame_offset[AV_PARSER_PTS_NB];
- int64_t cur_frame_end[AV_PARSER_PTS_NB];
int64_t cur_frame_pts[AV_PARSER_PTS_NB];
int64_t cur_frame_dts[AV_PARSER_PTS_NB];
@@ -2845,6 +2844,7 @@ typedef struct AVCodecParserContext {
#define PARSER_FLAG_COMPLETE_FRAMES 0x0001
int64_t offset; ///< byte offset from starting packet start
+ int64_t cur_frame_end[AV_PARSER_PTS_NB];
} AVCodecParserContext;
typedef struct AVCodecParser {