diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-06-07 20:49:24 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-06-09 08:42:50 +0200 |
commit | fbaa8fe6c66efdc97330f9343385eb6bb76e5339 (patch) | |
tree | 1b7e9a42f8fb9fee8c8fc63b2642fefffa1015e2 /ffmpeg.c | |
parent | 8362d734a3521b49fbc4942da49d45969e73c067 (diff) | |
download | ffmpeg-fbaa8fe6c66efdc97330f9343385eb6bb76e5339.tar.gz |
ffmpeg: init icodec.
With complex filter graphs, it can end up accessed
without having been set.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2747,7 +2747,7 @@ static int transcode_init(void) { int ret = 0, i, j, k; AVFormatContext *oc; - AVCodecContext *codec, *icodec; + AVCodecContext *codec, *icodec = NULL; OutputStream *ost; InputStream *ist; char error[1024]; |