diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index 65d18ad0f0..947d7c08ca 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -803,7 +803,7 @@ static int decode_block_coeffs(VP56RangeCoder *c, DCTELEM block[16], else if (token >= DCT_CAT1) { int cat = token-DCT_CAT1; token = vp8_rac_get_coeff(c, vp8_dct_cat_prob[cat]); - token += vp8_dct_cat_offset[cat]; + token += 3 + (2<