Commit 84fd51e5 authored by Aurelien Jacobs's avatar Aurelien Jacobs

ffmpeg: replace MAX_STREAMS by an arbitrary sanity check

Originally committed as revision 25304 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 620a67d5
......@@ -103,6 +103,9 @@ typedef struct AVMetaDataMap {
static const OptionDef options[];
#define MAX_FILES 100
#if !FF_API_MAX_STREAMS
#define MAX_STREAMS 1024 /* arbitrary sanity check value */
#endif
static const char *last_asked_format = NULL;
static AVFormatContext *input_files[MAX_FILES];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment