Commit 0d7dc0ca authored by Yaowu Xu's avatar Yaowu Xu
Browse files

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
parent e536a1cc
......@@ -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.
......
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