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

Fixes CID1338336
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/160/head
Michael Niedermayer 10 years ago
parent f621749d11
commit 4819446eae
  1. 2
      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) {

Loading…
Cancel
Save