Change to use proper type in vp10_token_state

"qc" in vp10_token_state is used to save quantized coefficients, this
commit changes the type from short to tran_low_t to properly reflect
the value range for highbitdepth build.

This fixes an out-of-range bug when optimize_b is used in highbitdepth
build.

Change-Id: I914c6fd3d3f4b9d061f9ed7cc5f08a883ab59dcd
This commit is contained in:
Yaowu Xu
2016-05-04 11:59:10 -07:00
parent e536a1cc07
commit 0d7dc0cae1

View File

@@ -61,7 +61,7 @@ typedef struct vp10_token_state {
int error;
int next;
int16_t token;
short qc;
tran_low_t qc;
} vp10_token_state;
// TODO(jimbankoski): experiment to find optimal RD numbers.