# HG changeset patch # User michael # Date 1212416605 0 # Node ID 2dde03056bd609a4fb4a31259b900c39c9dddf42 # Parent 6ef755b234c2c306af4eccfe849633f0c4757b5b 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. diff -r 6ef755b234c2 -r 2dde03056bd6 avcodec.h --- a/avcodec.h Mon Jun 02 13:14:01 2008 +0000 +++ b/avcodec.h Mon Jun 02 14:23:25 2008 +0000 @@ -2837,7 +2837,6 @@ #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 @@ #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 {