[FFmpeg-cvslog] avcodec/webvttdec: Fix uninitialized use of variable "again"
Michael Niedermayer
git at videolan.org
Wed Nov 11 00:44:46 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michael at 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 <michael at 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) {
More information about the ffmpeg-cvslog
mailing list