Mercurial > libavcodec.hg
changeset 9517:dcae1f330498 libavcodec
Compact and make constant two tables used by Musepack decoders
author | kostya |
---|---|
date | Mon, 20 Apr 2009 15:36:27 +0000 |
parents | f15a920ce40e |
children | b293cd788af3 |
files | mpc7.c mpc8.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mpc7.c Mon Apr 20 00:34:08 2009 +0000 +++ b/mpc7.c Mon Apr 20 15:36:27 2009 +0000 @@ -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