Originally committed as revision 25706 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -2346,6 +2346,8 @@ static int transcode(AVFormatContext **output_files, · 2345 unmodified lines | |||
| 2346 | 2346 | ||
| 2347 | int out_file_index = meta_data_maps[i][0].file; | 2347 | int out_file_index = meta_data_maps[i][0].file; |
| 2348 | int in_file_index = meta_data_maps[i][1].file; | 2348 | int in_file_index = meta_data_maps[i][1].file; |
| 2349 | if (in_file_index < 0 || out_file_index < 0) | ||
| 2350 | continue; | ||
| 2349 | METADATA_CHECK_INDEX(out_file_index, nb_output_files, "output file") | 2351 | METADATA_CHECK_INDEX(out_file_index, nb_output_files, "output file") |
| 2350 | METADATA_CHECK_INDEX(in_file_index, nb_input_files, "input file") | 2352 | METADATA_CHECK_INDEX(in_file_index, nb_input_files, "input file") |
| 2351 | 2353 | ||