Rename av_encode() to av_transcode(), the new name is more meaningful.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 4 Apr 2010 13:50:34 +0000 (13:50 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 4 Apr 2010 13:50:34 +0000 (13:50 +0000)
Originally committed as revision 22797 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 37ed165..a6672e9 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1726,7 +1726,7 @@ static int copy_chapters(int infile, int outfile)
 /*
  * 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,
                      AVFormatContext **input_files,
                      int nb_input_files,
@@ -4115,7 +4115,7 @@ int main(int argc, char **argv)
     }
 
     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)
         av_exit(1);
     ti = getutime() - ti;