[FFmpeg-cvslog] avconv: use the correct variable in comparison

Anton Khirnov git at videolan.org
Tue Jun 17 13:07:40 CEST 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Jun 14 21:43:36 2014 +0200| [71d6551e674c86d07c165439c2bf6613b3892307] | committer: Anton Khirnov

avconv: use the correct variable in comparison

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=71d6551e674c86d07c165439c2bf6613b3892307
---

 avconv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/avconv.c b/avconv.c
index 0fac5c6..b29f200 100644
--- a/avconv.c
+++ b/avconv.c
@@ -2104,7 +2104,7 @@ static int transcode_init(void)
             if (out_codec) {
                 encoder_name   = out_codec->name;
                 out_codec_name = avcodec_descriptor_get(out_codec->id)->name;
-                if (!strcmp(encoder_name, in_codec_name))
+                if (!strcmp(encoder_name, out_codec_name))
                     encoder_name = "native";
             }
 



More information about the ffmpeg-cvslog mailing list