diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index 2918902c9f..f86e0bf4ae 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -48,7 +48,7 @@ typedef struct { /** adaptive codebook. Its size is two units bigger to avoid a * buffer overflow */ - uint16_t adapt_cb[148]; + uint16_t adapt_cb[146+2]; } RA144Context; static int ra144_decode_init(AVCodecContext * avctx)