[SCM] libav/experimental: 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.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:26:33 UTC 2013


The following commit has been merged in the experimental branch:
commit f44fd37447497cc1bf8a3fdfd9c5154236b539a1
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Sun Aug 3 13:38:31 2008 +0000

    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

diff --git a/ffmpeg.c b/ffmpeg.c
index 91485ae..850778d 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];

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list