shithub: libvpx

Download patch

ref: 9dbbbd181257cc2a62664a6f52197d466c2c108e
parent: 0971d3204d26abe4d86fc873af44ab2286bc9c62
parent: 12cbfbb8075376bb9819b6855f3e429c6dc458f1
author: Hien Ho <hienho@google.com>
date: Fri Aug 2 11:40:47 EDT 2019

Merge "vpx_dsp/bitwriter.h: fix clang integer sanitizer warning"

--- a/vpx_dsp/bitwriter.h
+++ b/vpx_dsp/bitwriter.h
@@ -85,7 +85,7 @@
       br->buffer[x] += 1;
     }
 
-    br->buffer[br->pos++] = (lowvalue >> (24 - offset));
+    br->buffer[br->pos++] = (lowvalue >> (24 - offset)) & 0xff;
     lowvalue <<= offset;
     shift = count;
     lowvalue &= 0xffffff;