summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorJai Menon <jmenon86@gmail.com>2010-01-27 19:13:35 +0000
committerJai Menon <jmenon86@gmail.com>2010-01-27 19:13:35 +0000
commitad5cc780c0b29f0821efbb39e57e2b43f25d8793 (patch)
treeff66c9d69b4da20e745124c9cd99caf452559d4e /libavformat/avformat.h
parent60402344af4b387848b6f9fdf9e85d14db97d852 (diff)
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
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h4
1 files changed, 4 insertions, 0 deletions
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.