[FFmpeg-cvslog] r25304 - trunk/ffmpeg.c
aurel
subversion
Fri Oct 1 23:56:10 CEST 2010
Author: aurel
Date: Fri Oct 1 23:56:09 2010
New Revision: 25304
Log:
ffmpeg: replace MAX_STREAMS by an arbitrary sanity check
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c Fri Oct 1 23:54:20 2010 (r25303)
+++ trunk/ffmpeg.c Fri Oct 1 23:56:09 2010 (r25304)
@@ -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];
More information about the ffmpeg-cvslog
mailing list