ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Wed 
Nov 11 00:28:28 2015 +0100| [4819446eae451a6e58d6ae41faefb5529af4e783] | 
committer: Michael Niedermayer

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

Fixes CID1338336
Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4819446eae451a6e58d6ae41faefb5529af4e783
---

 libavcodec/webvttdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/webvttdec.c b/libavcodec/webvttdec.c
index fb1a422..7354588 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) {
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to