From e1d22db4512359a3037fecd50d62e80cf7ff0d1d Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 3 Sep 2015 16:21:56 -0400 Subject: [PATCH] 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 --- vp10/common/entropymode.c | 2 -- 1 file changed, 2 deletions(-) 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; }