|
|
@ -1726,7 +1726,7 @@ static int copy_chapters(int infile, int outfile) |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* The following code is the main loop of the file converter |
|
|
|
* The following code is the main loop of the file converter |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
static int av_encode(AVFormatContext **output_files, |
|
|
|
static int av_transcode(AVFormatContext **output_files, |
|
|
|
int nb_output_files, |
|
|
|
int nb_output_files, |
|
|
|
AVFormatContext **input_files, |
|
|
|
AVFormatContext **input_files, |
|
|
|
int nb_input_files, |
|
|
|
int nb_input_files, |
|
|
@ -4115,7 +4115,7 @@ int main(int argc, char **argv) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ti = getutime(); |
|
|
|
ti = getutime(); |
|
|
|
if (av_encode(output_files, nb_output_files, input_files, nb_input_files, |
|
|
|
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); |
|
|
|
av_exit(1); |
|
|
|
ti = getutime() - ti; |
|
|
|
ti = getutime() - ti; |
|
|
|