From e9b8523d52ca84d5012168db24fec2d50e73cf22 Mon Sep 17 00:00:00 2001
From: Nicolas George <nicolas.george@normalesup.org>
Date: Tue, 6 Nov 2012 21:14:45 +0100
Subject: [PATCH] sbgdec: dont set slide to a uninitialized value

Fixed CID703833
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libavformat/sbgdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/sbgdec.c b/libavformat/sbgdec.c
index 93c8cb3fa7b..c0987a1b34d 100644
--- a/libavformat/sbgdec.c
+++ b/libavformat/sbgdec.c
@@ -488,7 +488,7 @@ static int parse_timestamp(struct sbg_parser *p,
 
 static int parse_fade(struct sbg_parser *p, struct sbg_fade *fr)
 {
-    struct sbg_fade f;
+    struct sbg_fade f = {0};
 
     if (lex_char(p, '<'))
         f.in = SBG_FADE_SILENCE;
-- 
GitLab