Commit 2cbf1a20 authored by Sebastien Alaiwan's avatar Sebastien Alaiwan
Browse files

Remove #if guard

The preprocessor symbol is already tested in check_range implementation.

Change-Id: I34079c6450fee2c137d78ad5a8c924f8f6aba7be
parent 7a6e87b6
......@@ -235,10 +235,7 @@ static int decode_coefs(MACROBLOCKD *xd, PLANE_TYPE type, tran_low_t *dqcoeff,
v = (val * dqv) >> dq_shift;
#endif
v = aom_read_bit(r, ACCT_STR) ? -v : v;
#if CONFIG_COEFFICIENT_RANGE_CHECKING
check_range(v, xd->bd);
#endif // CONFIG_COEFFICIENT_RANGE_CHECKING
v = (int)check_range(aom_read_bit(r, ACCT_STR) ? -v : v, xd->bd);
dqcoeff[scan[c]] = v;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment