]> granicus.if.org Git - libvpx/commit
quantize: silence unsigned overflow warning
authorJohann <johannkoenig@google.com>
Tue, 15 Aug 2017 16:48:24 +0000 (09:48 -0700)
committerJohann <johannkoenig@google.com>
Tue, 15 Aug 2017 16:48:24 +0000 (09:48 -0700)
commit77ed4414d6dc4b047cab10aebf156bef5719513b
treedb16b5dbac6bda839b6b5c23808bb0c8bc3253ea
parent08cb7b5c680e747504f0d518e3e96b0b5467792e
quantize: silence unsigned overflow warning

The result of the xor operation is unsigned. If coeff was negative,
this results in an unsigned value - INT_MIN.

Change-Id: I1f1edeaa6de1f4c68b848e8a82a666d390b749f0
vpx_dsp/quantize.c