summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/vb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vb.c b/libavcodec/vb.c
index 155ccebbc4..4dfac435ac 100644
--- a/libavcodec/vb.c
+++ b/libavcodec/vb.c
@@ -43,7 +43,7 @@ typedef struct VBDecContext {
AVFrame pic;
uint8_t *frame, *prev_frame;
- uint32_t pal[256];
+ uint32_t pal[AVPALETTE_COUNT];
const uint8_t *stream;
} VBDecContext;