Commit 0d84a8f6 authored by Baptiste Coudurier's avatar Baptiste Coudurier

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

Originally committed as revision 14715 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cb5b96cd
...@@ -390,14 +390,17 @@ typedef struct AVStream { ...@@ -390,14 +390,17 @@ typedef struct AVStream {
int64_t nb_frames; ///< number of frames in this stream if known or 0 int64_t nb_frames; ///< number of frames in this stream if known or 0
#define MAX_REORDER_DELAY 4 #if LIBAVFORMAT_VERSION_INT < (53<<16)
int64_t pts_buffer[MAX_REORDER_DELAY+1]; int64_t unused[4+1];
#endif
char *filename; /**< source filename of the stream */ char *filename; /**< source filename of the stream */
int disposition; /**< AV_DISPOSITION_* bitfield */ int disposition; /**< AV_DISPOSITION_* bitfield */
AVProbeData probe_data; AVProbeData probe_data;
#define MAX_REORDER_DELAY 16
int64_t pts_buffer[MAX_REORDER_DELAY+1];
} AVStream; } AVStream;
#define AV_PROGRAM_RUNNING 1 #define AV_PROGRAM_RUNNING 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment