[FFmpeg-cvslog] r14715 - trunk/libavformat/avformat.h

bcoudurier subversion
Tue Aug 12 19:28:00 CEST 2008


Author: bcoudurier
Date: Tue Aug 12 19:28:00 2008
New Revision: 14715

Log:
increase MAX_REORDER_DELAY and pts_buffer size to 16, max for h264 atm

Modified:
   trunk/libavformat/avformat.h

Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h	(original)
+++ trunk/libavformat/avformat.h	Tue Aug 12 19:28:00 2008
@@ -390,14 +390,17 @@ typedef struct AVStream {
 
     int64_t nb_frames;                 ///< number of frames in this stream if known or 0
 
-#define MAX_REORDER_DELAY 4
-    int64_t pts_buffer[MAX_REORDER_DELAY+1];
+#if LIBAVFORMAT_VERSION_INT < (53<<16)
+    int64_t unused[4+1];
+#endif
 
     char *filename; /**< source filename of the stream */
 
     int disposition; /**< AV_DISPOSITION_* bitfield */
 
     AVProbeData probe_data;
+#define MAX_REORDER_DELAY 16
+    int64_t pts_buffer[MAX_REORDER_DELAY+1];
 } AVStream;
 
 #define AV_PROGRAM_RUNNING 1




More information about the ffmpeg-cvslog mailing list