Mercurial > libavformat.hg
changeset 3711:a2bdb3bfeb99 libavformat
increase MAX_REORDER_DELAY and pts_buffer size to 16, max for h264 atm
author | bcoudurier |
---|---|
date | Tue, 12 Aug 2008 17:28:00 +0000 |
parents | 48a262da0100 |
children | 30d4d95e068f |
files | avformat.h |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/avformat.h Tue Aug 12 17:26:36 2008 +0000 +++ b/avformat.h Tue Aug 12 17:28:00 2008 +0000 @@ -390,14 +390,17 @@ 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