Commit 71d6551e authored by Anton Khirnov's avatar Anton Khirnov

avconv: use the correct variable in comparison

parent 83aa4fc3
......@@ -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";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment