mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
Simplify: use local variable with same contents directly.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
ff92549195
commit
c15f3bd3db
2
ffmpeg.c
2
ffmpeg.c
@ -2513,7 +2513,7 @@ static int transcode_init(OutputFile *output_files, int nb_output_files,
|
||||
}
|
||||
} else {
|
||||
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;
|
||||
ost->encoding_needed = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user