diff --git a/ffmpeg.c b/ffmpeg.c index 2f18bc1b9b..e8d281589c 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2086,7 +2086,7 @@ static int transcode_init(void) AVCodecContext *codec; OutputStream *ost; InputStream *ist; - char error[1024]; + char error[1024] = {0}; int want_sdp = 1; /* init framerate emulation */