aboutsummaryrefslogtreecommitdiff
path: root/libvpx/vp9/decoder/vp9_detokenize.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvpx/vp9/decoder/vp9_detokenize.c')
-rw-r--r--libvpx/vp9/decoder/vp9_detokenize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvpx/vp9/decoder/vp9_detokenize.c b/libvpx/vp9/decoder/vp9_detokenize.c
index e250a5a35..c2e6b3d54 100644
--- a/libvpx/vp9/decoder/vp9_detokenize.c
+++ b/libvpx/vp9/decoder/vp9_detokenize.c
@@ -243,9 +243,9 @@ static int decode_coefs(const MACROBLOCKD *xd, PLANE_TYPE type,
#endif // CONFIG_VP9_HIGHBITDEPTH
#else
if (read_bool(r, 128, &value, &count, &range)) {
- dqcoeff[scan[c]] = -v;
+ dqcoeff[scan[c]] = (tran_low_t)-v;
} else {
- dqcoeff[scan[c]] = v;
+ dqcoeff[scan[c]] = (tran_low_t)v;
}
#endif // CONFIG_COEFFICIENT_RANGE_CHECKING
++c;