From 4819446eae451a6e58d6ae41faefb5529af4e783 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 11 Nov 2015 00:28:28 +0100 Subject: [PATCH] avcodec/webvttdec: Fix uninitialized use of variable "again" Fixes CID1338336 Signed-off-by: Michael Niedermayer --- libavcodec/webvttdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/webvttdec.c b/libavcodec/webvttdec.c index fb1a422124..735458879d 100644 --- a/libavcodec/webvttdec.c +++ b/libavcodec/webvttdec.c @@ -44,7 +44,7 @@ static const struct { static int webvtt_event_to_ass(AVBPrint *buf, const char *p) { - int i, again, skip = 0; + int i, again = 0, skip = 0; while (*p) {