Commit 4b0ef55f authored by Jingning Han's avatar Jingning Han

Fix block size computation in coeff token packing

Correctly compute the block size in bit-stream coefficient token
packing. This fixes an enc/dec mismatch at very high bit-rates.

Change-Id: I37bf084731dc660df0c695cad406ddcd0f9eb904
parent dfd05464
......@@ -326,7 +326,7 @@ static void pack_mb_tokens(vpx_writer *w,
TOKENEXTRA *p = *tp;
int count = 0;
const int seg_eob = 16 << (1 << tx);
const int seg_eob = 16 << (tx << 1);
(void) tx;
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