1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vp9: reset segmentation information on context reset.

This commit is contained in:
Ronald S. Bultje 2015-09-01 16:44:10 -04:00
parent fb04666995
commit 339550e7c8

View File

@ -707,6 +707,7 @@ static int decode_frame_header(AVCodecContext *ctx,
s->lf_delta.ref[3] = -1;
s->lf_delta.mode[0] = 0;
s->lf_delta.mode[1] = 0;
memset(s->segmentation.feat, 0, sizeof(s->segmentation.feat));
}
s->filter.level = get_bits(&s->gb, 6);
sharp = get_bits(&s->gb, 3);