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
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue