changeset 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 8d7341df7f4c
children be39b68919ab
files avformat.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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.