ffmpeg: init icodec.
With complex filter graphs, it can end up accessed without having been set.
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@@ -2747,7 +2747,7 @@ static int transcode_init(void)
|
|||||||
{
|
{
|
||||||
int ret = 0, i, j, k;
|
int ret = 0, i, j, k;
|
||||||
AVFormatContext *oc;
|
AVFormatContext *oc;
|
||||||
AVCodecContext *codec, *icodec;
|
AVCodecContext *codec, *icodec = NULL;
|
||||||
OutputStream *ost;
|
OutputStream *ost;
|
||||||
InputStream *ist;
|
InputStream *ist;
|
||||||
char error[1024];
|
char error[1024];
|
||||||
|
Reference in New Issue
Block a user