mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-29 04:17:06 +08:00
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
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@ -92,7 +92,7 @@ static int nb_input_files = 0;
|
|||||||
static AVFormatContext *output_files[MAX_FILES];
|
static AVFormatContext *output_files[MAX_FILES];
|
||||||
static int nb_output_files = 0;
|
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 int nb_stream_maps;
|
||||||
|
|
||||||
static AVMetaDataMap meta_data_maps[MAX_FILES];
|
static AVMetaDataMap meta_data_maps[MAX_FILES];
|
||||||
|
Reference in New Issue
Block a user