Commit fa0d0fb4 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '71d6551e'

* commit '71d6551e':
  avconv: use the correct variable in comparison
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 61df0819 71d6551e
...@@ -2999,7 +2999,7 @@ static int transcode_init(void) ...@@ -2999,7 +2999,7 @@ static int transcode_init(void)
if (out_codec) { if (out_codec) {
encoder_name = out_codec->name; encoder_name = out_codec->name;
out_codec_name = avcodec_descriptor_get(out_codec->id)->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"; 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