ffmpeg: init icodec.
With complex filter graphs, it can end up accessed without having been set.
This commit is contained in:
parent
8362d734a3
commit
fbaa8fe6c6
2
ffmpeg.c
2
ffmpeg.c
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user