[FFmpeg-cvslog] r14520 - trunk/ffmpeg.c

stefano subversion
Sun Aug 3 15:38:31 CEST 2008


Author: stefano
Date: Sun Aug  3 15:38:31 2008
New Revision: 14520

Log:
Increase the maximum number of supported stream mappings in ffmpeg.c.
The new value is given by maximum_files_nb * maximum_streams_per_file_nb,
which looks also more correct in respect to the previous value.


Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Sun Aug  3 15:38:31 2008
@@ -92,7 +92,7 @@ static int nb_input_files = 0;
 static AVFormatContext *output_files[MAX_FILES];
 static int nb_output_files = 0;
 
-static AVStreamMap stream_maps[MAX_FILES];
+static AVStreamMap stream_maps[MAX_FILES*MAX_STREAMS];
 static int nb_stream_maps;
 
 static AVMetaDataMap meta_data_maps[MAX_FILES];




More information about the ffmpeg-cvslog mailing list