[FFmpeg-cvslog] r13625 - trunk/libavcodec/avcodec.h

michael subversion
Mon Jun 2 16:23:25 CEST 2008


Author: michael
Date: Mon Jun  2 16:23:25 2008
New Revision: 13625

Log:
Move new field to the end to avoid ABI breakage, i thought this struct
isnt 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.


Modified:
   trunk/libavcodec/avcodec.h

Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h	(original)
+++ trunk/libavcodec/avcodec.h	Mon Jun  2 16:23:25 2008
@@ -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 {




More information about the ffmpeg-cvslog mailing list