From: Ronald S. Bultje Date: Thu, 3 Sep 2015 20:21:56 +0000 (-0400) Subject: Don't reset sign_bias fields in vp10_setup_past_independence(). X-Git-Tag: v1.5.0~175^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1d22db4512359a3037fecd50d62e80cf7ff0d1d;p=libvpx Don't reset sign_bias fields in vp10_setup_past_independence(). The fields are always coded in the frame itself, so there is never any dependency on past frames. In practice, this fixes sign_bias being ignored when error_resilient_mode=1. See issue 1011. Change-Id: I9d134ef6b445ced4d100fa735ce579855a0fa5af --- diff --git a/vp10/common/entropymode.c b/vp10/common/entropymode.c index cdb6ab9ea..0622a7d2c 100644 --- a/vp10/common/entropymode.c +++ b/vp10/common/entropymode.c @@ -463,7 +463,5 @@ void vp10_setup_past_independence(VP10_COMMON *cm) { memset(cm->prev_mip, 0, cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->prev_mip)); - vp10_zero(cm->ref_frame_sign_bias); - cm->frame_context_idx = 0; }