Change to use correct type
This commit changes to use int instead of unsigned for a variable used in inverse quantization. Change-Id: I8f0ff5f80c9e68d52425265ef177357c65ead1e2
This commit is contained in:
@@ -1050,7 +1050,7 @@ void av1_highbd_quantize_dc(const tran_low_t *coeff_ptr, int n_coeffs,
|
||||
#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;
|
||||
|
||||
Reference in New Issue
Block a user