Commit ad2c1782 authored by Jingning Han's avatar Jingning Han Committed by Yaowu Xu
Browse files

Replace scan index with local var

Change-Id: I36334c25f904e2a40f29c8ab83da4501f52e2eb3
parent 01b01c0d
......@@ -276,7 +276,7 @@ uint8_t av1_read_coeffs_txb(const AV1_COMMON *const cm, MACROBLOCKD *xd,
} else {
*sign = av1_read_record_bit(counts, r, ACCT_STR);
}
if (*sign) tcoeffs[pos] = -tcoeffs[scan[c]];
if (*sign) tcoeffs[pos] = -tcoeffs[pos];
}
if (update_eob >= 0) {
......
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