aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
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.