From f44fd37447497cc1bf8a3fdfd9c5154236b539a1 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 3 Aug 2008 13:38:31 +0000 Subject: 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 --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 91485ae5b6..850778db91 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -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]; -- cgit v1.2.3