Commit 8398023a authored by Hui Su's avatar Hui Su
Browse files

Fix int overflow in decode_coefs()


Change-Id: I79e404dc2cd6db06e71a64338b74eb4b575ba431
(cherry picked from commit 85f2a5ae4c15de5dd530766eb3933b9de976d9cf)
parent 8e739bcd
......@@ -210,7 +210,7 @@ static int decode_coefs(MACROBLOCKD *xd, PLANE_TYPE type, tran_low_t *dqcoeff,
v = (val * dqv) >> dq_shift;
v = (int)(((int64_t)val * dqv) >> dq_shift);
v = val * dqv;
Supports Markdown
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