summaryrefslogtreecommitdiff
path: root/libavcodec/vp9.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@gmail.com>2013-10-16 17:11:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-16 17:17:47 +0200
commit734ccf37858864c602f943c2b67e43a7e5555b36 (patch)
tree722784a4cdc66e1dc1972e09214af39bcffe4cb1 /libavcodec/vp9.c
parent4413dcc03524e6f3cd958d2fcdc0ee60d94ebba0 (diff)
avcodec/vp9: fix band_counts array size / padding
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r--libavcodec/vp9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 0eb92f8c08..012d7aad22 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1909,7 +1909,7 @@ static int decode_coeffs(AVCodecContext *ctx)
const int16_t (*uvnb)[2] = vp9_scans_nb[b->uvtx][DCT_DCT];
uint8_t *a = &s->above_y_nnz_ctx[col * 2];
uint8_t *l = &s->left_y_nnz_ctx[(row & 7) << 1];
- static const int16_t band_counts[4][6] = {
+ static const int16_t band_counts[4][8] = {
{ 1, 2, 3, 4, 3, 16 - 13 },
{ 1, 2, 3, 4, 11, 64 - 21 },
{ 1, 2, 3, 4, 11, 256 - 21 },