Commit af210e43 authored by Sarah Parker's avatar Sarah Parker

Change eob type from int64_t to int

This addresses a visual studio warning for conversion from 'int64_t'
to 'uint16_t'

Change-Id: I0a8c67938c1b50d4eb33aa43cf368a21c60f49a8
parent 5f8f7a16
......@@ -147,7 +147,8 @@ void quantize_dc_helper(const tran_low_t *coeff_ptr, int n_coeffs,
const int coeff = coeff_ptr[rc];
const int coeff_sign = (coeff >> 31);
const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
int64_t tmp, eob = -1;
int64_t tmp;
int eob = -1;
int32_t tmp32;
int dequant;
......
......@@ -673,7 +673,8 @@ static void quantize_dc(const tran_low_t *coeff_ptr, int n_coeffs,
const int coeff = coeff_ptr[rc];
const int coeff_sign = (coeff >> 31);
const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
int64_t tmp, eob = -1;
int64_t tmp;
int eob = -1;
int32_t tmp32;
int dequant;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment