|
|
|
@ -1727,10 +1727,10 @@ static int copy_chapters(int infile, int outfile) |
|
|
|
|
* The following code is the main loop of the file converter |
|
|
|
|
*/ |
|
|
|
|
static int av_transcode(AVFormatContext **output_files, |
|
|
|
|
int nb_output_files, |
|
|
|
|
AVFormatContext **input_files, |
|
|
|
|
int nb_input_files, |
|
|
|
|
AVStreamMap *stream_maps, int nb_stream_maps) |
|
|
|
|
int nb_output_files, |
|
|
|
|
AVFormatContext **input_files, |
|
|
|
|
int nb_input_files, |
|
|
|
|
AVStreamMap *stream_maps, int nb_stream_maps) |
|
|
|
|
{ |
|
|
|
|
int ret = 0, i, j, k, n, nb_istreams = 0, nb_ostreams = 0; |
|
|
|
|
AVFormatContext *is, *os; |
|
|
|
@ -4116,7 +4116,7 @@ int main(int argc, char **argv) |
|
|
|
|
|
|
|
|
|
ti = getutime(); |
|
|
|
|
if (av_transcode(output_files, nb_output_files, input_files, nb_input_files, |
|
|
|
|
stream_maps, nb_stream_maps) < 0) |
|
|
|
|
stream_maps, nb_stream_maps) < 0) |
|
|
|
|
av_exit(1); |
|
|
|
|
ti = getutime() - ti; |
|
|
|
|
if (do_benchmark) { |
|
|
|
|