diff avformat.h @ 5593:cbc342b418f4 libavformat

Schedule an increase in the maximum number of streams at next libavformat major version bump.
author jai_menon
date Wed, 27 Jan 2010 19:13:35 +0000
parents 4435424edfb5
children 96d885709963
line wrap: on
line diff
--- a/avformat.h	Wed Jan 27 13:03:53 2010 +0000
+++ b/avformat.h	Wed Jan 27 19:13:35 2010 +0000
@@ -520,7 +520,11 @@
     AVMetadata *metadata;
 } AVChapter;
 
+#if LIBAVFORMAT_VERSION_MAJOR < 53
 #define MAX_STREAMS 20
+#else
+#define MAX_STREAMS 100
+#endif
 
 /**
  * Format I/O context.