diff --git a/libavformat/sbgdec.c b/libavformat/sbgdec.c index 93c8cb3fa7..c0987a1b34 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;