summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-06-14 21:43:36 +0200
committerAnton Khirnov <anton@khirnov.net>2014-06-17 09:01:26 +0200
commit71d6551e674c86d07c165439c2bf6613b3892307 (patch)
treed1489faed845bcfa710066913ad47df1a1054232 /avconv.c
parent83aa4fc3feec7389ac781fece1e994f2dfd7ebdb (diff)
avconv: use the correct variable in comparison
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv.c b/avconv.c
index 0fac5c6c05..b29f2006a7 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";
}