diff --git a/ffmpeg.c b/ffmpeg.c index 840c6214d38f720208540751f087b2565d21b706..0741eca2614de9487d55dd52543d20257f7d5503 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2542,7 +2542,7 @@ static int transcode_init(void) AVFormatContext *oc; OutputStream *ost; InputStream *ist; - char error[1024]; + char error[1024] = {0}; int want_sdp = 1; for (i = 0; i < nb_filtergraphs; i++) {