diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-02-12 11:50:01 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-02-12 18:56:07 +0100 |
commit | c15f3bd3dba9b17ba03606e32ec900c3821fcd50 (patch) | |
tree | 9443a827cdb86ef98d74cfba7bda38e41fb05222 /ffmpeg.c | |
parent | ff925491955036647c6de26c07070cc2afafda51 (diff) | |
download | ffmpeg-c15f3bd3dba9b17ba03606e32ec900c3821fcd50.tar.gz |
Simplify: use local variable with same contents directly.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |