summaryrefslogtreecommitdiff
path: root/libavcodec/mpc7.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-04-20 15:36:27 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-04-20 15:36:27 +0000
commit40039717171689b6802fa69b9a14679e69675302 (patch)
tree39e356f551f9d6e91378fd9ae87e99e89714c2c8 /libavcodec/mpc7.c
parent9292bd7725e190c6b46735be869ec09f068d7e6b (diff)
Compact and make constant two tables used by Musepack decoders
Originally committed as revision 18633 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpc7.c')
-rw-r--r--libavcodec/mpc7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpc7.c b/libavcodec/mpc7.c
index 75f65163ea..a15f117427 100644
--- a/libavcodec/mpc7.c
+++ b/libavcodec/mpc7.c
@@ -40,7 +40,7 @@
static VLC scfi_vlc, dscf_vlc, hdr_vlc, quant_vlc[MPC7_QUANT_VLC_TABLES][2];
-static uint16_t quant_offsets[MPC7_QUANT_VLC_TABLES*2 + 1] =
+static const uint16_t quant_offsets[MPC7_QUANT_VLC_TABLES*2 + 1] =
{
0, 512, 1024, 1536, 2052, 2564, 3076, 3588, 4100, 4612, 5124,
5636, 6164, 6676, 7224