Browse Source

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

Fixes CID1338336
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Michael Niedermayer 10 years ago
parent
commit
4819446eae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/webvttdec.c

+ 1
- 1
libavcodec/webvttdec.c 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) {



Loading…
Cancel
Save