diff avformat.h @ 1285:b5226e679a31 libavformat

fix b pyramid in mp4 muxing if no dts are provided to the muxer
author michael
date Wed, 30 Aug 2006 21:18:17 +0000
parents a12e0b434174
children eb0a8abb507c
line wrap: on
line diff
--- a/avformat.h	Tue Aug 29 12:03:07 2006 +0000
+++ b/avformat.h	Wed Aug 30 21:18:17 2006 +0000
@@ -266,6 +266,9 @@
     int index_entries_allocated_size;
 
     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];
 } AVStream;
 
 #define AVFMTCTX_NOHEADER      0x0001 /* signal that no header is present