[FFmpeg-cvslog] Simplify: use local variable with same contents directly.
Reimar Döffinger
git at videolan.org
Sun Feb 12 18:57:06 CET 2012
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun Feb 12 11:50:01 2012 +0100| [c15f3bd3dba9b17ba03606e32ec900c3821fcd50] | committer: Reimar Döffinger
Simplify: use local variable with same contents directly.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c15f3bd3dba9b17ba03606e32ec900c3821fcd50
---
ffmpeg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 22f8fa9..f3683a5 100644
--- a/ffmpeg.c
+++ b/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;
More information about the ffmpeg-cvslog
mailing list