Schedule an increase in the maximum number of streams
authorJai Menon <jmenon86@gmail.com>
Wed, 27 Jan 2010 19:13:35 +0000 (19:13 +0000)
committerJai Menon <jmenon86@gmail.com>
Wed, 27 Jan 2010 19:13:35 +0000 (19:13 +0000)
at next libavformat major version bump.

Originally committed as revision 21484 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avformat.h

index e4dba36..3754823 100644 (file)
@@ -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.