From 95e248e7d7f32b5835e0f0b7e6913c8510a3610a Mon Sep 17 00:00:00 2001 From: David Barker Date: Mon, 24 Oct 2016 13:25:23 +0100 Subject: [PATCH] Add bit accounting information for deringing It seems that when bit accounting was introduced in https://chromium-review.googlesource.com/#/c/400658/ there was one place which was accidentally skipped, leading to build failures with --enable-dering. This patch adds the missing information. Change-Id: I59e1bd6f7e1d4fa58506ee7af307b845c78a7cbe --- av1/decoder/decodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/av1/decoder/decodeframe.c b/av1/decoder/decodeframe.c index e12b9daa2..1ef97a523 100644 --- a/av1/decoder/decodeframe.c +++ b/av1/decoder/decodeframe.c @@ -1858,7 +1858,7 @@ static void decode_partition(AV1Decoder *const pbi, MACROBLOCKD *const xd, if (bsize == BLOCK_64X64) { if (cm->dering_level != 0 && !sb_all_skip(cm, mi_row, mi_col)) { cm->mi_grid_visible[mi_row * cm->mi_stride + mi_col]->mbmi.dering_gain = - aom_read_literal(r, DERING_REFINEMENT_BITS); + aom_read_literal(r, DERING_REFINEMENT_BITS, ACCT_STR); } else { cm->mi_grid_visible[mi_row * cm->mi_stride + mi_col]->mbmi.dering_gain = 0;