Commit c15f3bd3 authored by Reimar Döffinger's avatar Reimar Döffinger

Simplify: use local variable with same contents directly.

Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent ff925491
...@@ -2513,7 +2513,7 @@ static int transcode_init(OutputFile *output_files, int nb_output_files, ...@@ -2513,7 +2513,7 @@ static int transcode_init(OutputFile *output_files, int nb_output_files,
} }
} else { } else {
if (!ost->enc) if (!ost->enc)
ost->enc = avcodec_find_encoder(ost->st->codec->codec_id); ost->enc = avcodec_find_encoder(codec->codec_id);
ist->decoding_needed = 1; ist->decoding_needed = 1;
ost->encoding_needed = 1; ost->encoding_needed = 1;
......
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