diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-01 21:56:09 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-01 21:56:09 +0000 |
commit | 84fd51e5ad41147c12d63471f98fb68361258646 (patch) | |
tree | 06d90a55d2053a11abbc465ae58d59be7cb6b976 | |
parent | 620a67d56ae5e31fdc1ddeb694c23889061ae522 (diff) | |
download | ffmpeg-84fd51e5ad41147c12d63471f98fb68361258646.tar.gz |
ffmpeg: replace MAX_STREAMS by an arbitrary sanity check
Originally committed as revision 25304 to svn://svn.ffmpeg.org/ffmpeg/trunk
-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]; |