sbgdec: dont set slide to a uninitialized value

Fixed CID703833
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/6/merge
Nicolas George 12 years ago committed by Michael Niedermayer
parent 44e9d7f182
commit e9b8523d52
  1. 2
      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;

Loading…
Cancel
Save