mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
ffmpeg: replace MAX_STREAMS by an arbitrary sanity check
Originally committed as revision 25304 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
620a67d56a
commit
84fd51e5ad
3
ffmpeg.c
3
ffmpeg.c
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user