Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mms.c')
-rw-r--r--libavformat/mms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/mms.c b/libavformat/mms.c
index 46fbede90c..b541208e31 100644
--- a/libavformat/mms.c
+++ b/libavformat/mms.c
@@ -24,7 +24,11 @@
#include "asf.h"
#include "libavutil/intreadwrite.h"
+#if FF_API_MAX_STREAMS
+#define MMS_MAX_STREAMS MAX_STREAMS
+#else
#define MMS_MAX_STREAMS 256 /**< arbitrary sanity check value */
+#endif
int ff_mms_read_header(MMSContext *mms, uint8_t *buf, const int size)
{