Commit fbaa8fe6 authored by Nicolas George's avatar Nicolas George

ffmpeg: init icodec.

With complex filter graphs, it can end up accessed
without having been set.
parent 8362d734
......@@ -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];
......
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