projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4413dcc
)
avcodec/vp9: fix band_counts array size / padding
author
Ronald S. Bultje
<rbultje@gmail.com>
Wed, 16 Oct 2013 15:11:17 +0000
(17:11 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Oct 2013 15:17:47 +0000
(17:17 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vp9.c
patch
|
blob
|
history
diff --git
a/libavcodec/vp9.c
b/libavcodec/vp9.c
index
0eb92f8
..
012d7aa
100644
(file)
--- 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 },