diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-08-30 21:18:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-08-30 21:18:17 +0000 |
commit | 504ee036ee7f8bb2fc7e8d8278362f6250899d46 (patch) | |
tree | dc4d442c025c60fd353390d6e5b082e49f41acf9 /libavformat/avformat.h | |
parent | 56d2d2d01a96ed801517f826285f4c9877f46db3 (diff) | |
download | ffmpeg-504ee036ee7f8bb2fc7e8d8278362f6250899d46.tar.gz |
fix b pyramid in mp4 muxing if no dts are provided to the muxer
Originally committed as revision 6133 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 934d92b73a..27cddaa10a 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -266,6 +266,9 @@ typedef struct AVStream { 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 |