lv_map - ensure coeffs don't overflow in highbitdepth modes
BUG=aomedia:954
BUG=aomedia:956
Change-Id: Idc292c524bc3fea2a8a0e003d1a4cc9ae5799bd1
diff --git a/av1/decoder/decodetxb.c b/av1/decoder/decodetxb.c
index 8e21a7f..f821fac 100644
--- a/av1/decoder/decodetxb.c
+++ b/av1/decoder/decodetxb.c
@@ -602,7 +602,7 @@
for (c = 0; c < *eob; ++c) {
const int16_t dqv = (c == 0) ? dequant[0] : dequant[1];
const int level = levels[scan[c]];
- const int16_t t = ((level + tcoeffs[scan[c]]) * dqv) >> shift;
+ const tran_low_t t = ((level + tcoeffs[scan[c]]) * dqv) >> shift;
#if CONFIG_SYMBOLRATE
av1_record_coeff(counts, level);
#endif