diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-02 01:56:09 +0400 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-02 01:56:09 +0400 |
commit | 84fd51e5ad41147c12d63471f98fb68361258646 (patch) | |
tree | 06d90a55d2053a11abbc465ae58d59be7cb6b976 /ffmpeg.c | |
parent | 620a67d56ae5e31fdc1ddeb694c23889061ae522 (diff) |
ffmpeg: replace MAX_STREAMS by an arbitrary sanity check
Originally committed as revision 25304 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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]; |