1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

avconv: use the correct variable in comparison

This commit is contained in:
Anton Khirnov 2014-06-14 21:43:36 +02:00
parent 83aa4fc3fe
commit 71d6551e67

View File

@ -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";
}