| commit | af048635bbfa6fb06f7eea8fdb1339d70e8140e7 | [log] [tgz] |
|---|---|---|
| author | Yaowu Xu <yaowu@google.com> | Wed May 18 17:35:34 2016 -0700 |
| committer | Yaowu Xu <yaowu@google.com> | Fri Sep 09 18:47:15 2016 +0000 |
| tree | 7b4103179f0786ab15526e785dc62dfc541f6f53 | |
| parent | 23938a73c0c7e870f0d6d3aadfa8f0fa529da07a [diff] |
Change to use correct type This commit changes to use int instead of unsigned for a variable used in inverse quantization. Change-Id: I8f0ff5f80c9e68d52425265ef177357c65ead1e2
diff --git a/av1/encoder/quantize.c b/av1/encoder/quantize.c index 5a6d8cb..73946c2 100644 --- a/av1/encoder/quantize.c +++ b/av1/encoder/quantize.c
@@ -1050,7 +1050,7 @@ #endif static void invert_quant(int16_t *quant, int16_t *shift, int d) { - unsigned t; + uint32_t t; int l, m; t = d; for (l = 0; t > 1; l++) t >>= 1;