avcodec/webvttdec: Fix uninitialized use of variable "again"

Fixes CID1338336
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-11-11 00:28:28 +01:00
parent f621749d11
commit 4819446eae

View File

@ -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) {