From ad5cc780c0b29f0821efbb39e57e2b43f25d8793 Mon Sep 17 00:00:00 2001 From: Jai Menon Date: Wed, 27 Jan 2010 19:13:35 +0000 Subject: [PATCH] Schedule an increase in the maximum number of streams at next libavformat major version bump. Originally committed as revision 21484 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index e4dba364a8..37548233fd 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -520,7 +520,11 @@ typedef struct AVChapter { AVMetadata *metadata; } AVChapter; +#if LIBAVFORMAT_VERSION_MAJOR < 53 #define MAX_STREAMS 20 +#else +#define MAX_STREAMS 100 +#endif /** * Format I/O context.