summaryrefslogtreecommitdiff
path: root/libavcodec/mpc7data.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-15 03:45:22 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-15 22:13:24 +0200
commitbec4e158596bbb5af0eb2e9582cbc28961e6c068 (patch)
treeb94e8491cc0939b5f0970d24fd89ca1b61d5b730 /libavcodec/mpc7data.h
parent36c582f515a7da4c5dda4890fcf588164f91255f (diff)
avcodec/mpc7, mpc7data: Make overlong arrays smaller
For the VLC table arrays in mpc7_decode_init() this fixes a regression introduced in 1e40dc920a838e35f1483b20bfcd417437e68741. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mpc7data.h')
-rw-r--r--libavcodec/mpc7data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpc7data.h b/libavcodec/mpc7data.h
index 5609e8fbf3..90ab75fe65 100644
--- a/libavcodec/mpc7data.h
+++ b/libavcodec/mpc7data.h
@@ -51,7 +51,7 @@ static const uint8_t mpc7_hdr[MPC7_HDR_SIZE * 2] = {
};
#define MPC7_QUANT_VLC_TABLES 7
-static const uint8_t mpc7_quant_vlc_sizes[MPC7_QUANT_VLC_TABLES * 2] = {
+static const uint8_t mpc7_quant_vlc_sizes[MPC7_QUANT_VLC_TABLES] = {
27, 25, 7, 9, 15, 31, 63
};