[FFmpeg-devel] [PATCH 4/5] Rename av_transcode() to transcode().

Stefano Sabatini stefano.sabatini-lala
Mon Jul 26 00:07:18 CEST 2010


av_ prefix is reserved for libav* libraries functions, it is confusing
to use it for an application function.
---
 ffmpeg.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 6d29d78..e79e6e7 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1941,7 +1941,7 @@ 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,
+static int transcode(AVFormatContext **output_files,
                         int nb_output_files,
                         AVFormatContext **input_files,
                         int nb_input_files,
@@ -4357,7 +4357,7 @@ int main(int argc, char **argv)
     }
 
     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)
         ffmpeg_exit(1);
     ti = getutime() - ti;
-- 
1.7.0.4




More information about the ffmpeg-devel mailing list