Mercurial > libavcodec.hg
diff vp8data.h @ 12343:a18ab740d2db libavcodec
VP8: eliminate a dereference in coefficient decoding
author | darkshikari |
---|---|
date | Mon, 02 Aug 2010 22:48:38 +0000 |
parents | e84378ff89ca |
children | db60aff8eeef |
line wrap: on
line diff
--- a/vp8data.h Mon Aug 02 20:57:03 2010 +0000 +++ b/vp8data.h Mon Aug 02 22:48:38 2010 +0000 @@ -314,10 +314,9 @@ { -2, -3 }, // '10', '11' }; -/* Padded by one byte to allow overreads */ -static const uint8_t vp8_coeff_band[17] = +static const uint8_t vp8_coeff_band[16] = { - 0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0 + 0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7 }; static const uint8_t vp8_dct_cat1_prob[] = { 159, 0 };