From 71d6551e674c86d07c165439c2bf6613b3892307 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 14 Jun 2014 21:43:36 +0200 Subject: [PATCH] avconv: use the correct variable in comparison --- 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"; } -- 2.7.4