diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index edddc483a2..daa62d6298 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -5459,6 +5459,8 @@ static int vc1_decode_sprites(VC1Context *v, GetBitContext* gb) AVCodecContext *avctx = s->avctx; SpriteData sd; + memset(&sd, 0, sizeof(sd)); + vc1_parse_sprites(v, gb, &sd); if (!s->current_picture.f.data[0]) {