summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-08-03 13:38:31 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-08-03 13:38:31 +0000
commitf44fd37447497cc1bf8a3fdfd9c5154236b539a1 (patch)
tree214d329d293ecad09b56e2e5110abf17567186ae
parentaa6de49e95f4cdc99d7e360cebb9fbf22c184ff5 (diff)
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
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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];