mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Rename av_transcode() to transcode().
av_ prefix is reserved for libav* libraries functions, it is confusing to use it for an application function. Originally committed as revision 24505 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
fca05ea8a0
commit
3aace1bcac
4
ffmpeg.c
4
ffmpeg.c
@ -1938,7 +1938,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_transcode(AVFormatContext **output_files,
|
static int 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,
|
||||||
@ -4354,7 +4354,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ti = getutime();
|
ti = getutime();
|
||||||
if (av_transcode(output_files, nb_output_files, input_files, nb_input_files,
|
if (transcode(output_files, nb_output_files, input_files, nb_input_files,
|
||||||
stream_maps, nb_stream_maps) < 0)
|
stream_maps, nb_stream_maps) < 0)
|
||||||
ffmpeg_exit(1);
|
ffmpeg_exit(1);
|
||||||
ti = getutime() - ti;
|
ti = getutime() - ti;
|
||||||
|
Loading…
Reference in New Issue
Block a user