shithub: libvpx

Download patch

ref: c5f298b71fa5e0a1e7be4d2ddb0b2cb8e81f3836
parent: fa2509d7292a886e6efa4130c2424916f155a61f
parent: ccc5a6c29af9f4a64934c2e7cfdb66237612b334
author: Hien Ho <hienho@google.com>
date: Wed Aug 28 12:28:41 EDT 2019

Merge "vp8/encoder/vp8_quantize: fix int sanitizer warnings"

--- a/vp8/encoder/vp8_quantize.c
+++ b/vp8/encoder/vp8_quantize.c
@@ -174,8 +174,6 @@
   } else {
     *quant = (1 << 16) / d;
     *shift = 0;
-    /* use multiplication and constant shift by 16 */
-    *shift = 1 << (16 - *shift);
   }
 }