Browse code

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.

Originally committed as revision 14520 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini authored on 2008/08/03 22:38:31
Showing 1 changed files
... ...
@@ -92,7 +92,7 @@ static int nb_input_files = 0;
92 92
 static AVFormatContext *output_files[MAX_FILES];
93 93
 static int nb_output_files = 0;
94 94
 
95
-static AVStreamMap stream_maps[MAX_FILES];
95
+static AVStreamMap stream_maps[MAX_FILES*MAX_STREAMS];
96 96
 static int nb_stream_maps;
97 97
 
98 98
 static AVMetaDataMap meta_data_maps[MAX_FILES];