diff options
author | Monty <xiphmont@xiph.org> | 2002-10-16 08:10:09 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2002-10-16 08:10:09 +0000 |
commit | 0185fc26b02cacd81d6e7c5745ff0752afdb4b1c (patch) | |
tree | f4c9287176f2a270383857d6faafc9768b9c5342 /floor0.c | |
parent | 049a933452752e5efb7a63637bc24ea256b0b2db (diff) | |
download | tremor-0185fc26b02cacd81d6e7c5745ff0752afdb4b1c.tar.gz |
const-ify a few things that really ought to be.
git-svn-id: https://svn.xiph.org/trunk/Tremor@4010 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'floor0.c')
-rw-r--r-- | floor0.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -94,7 +94,7 @@ static inline ogg_int32_t vorbis_coslook2_i(long a){ return(a); } -static int barklook[28]={ +static const int barklook[28]={ 0,100,200,301, 405,516,635,766, 912,1077,1263,1476, 1720,2003,2333,2721, 3184,3742,4428,5285, 6376,7791,9662,12181, @@ -117,21 +117,21 @@ static inline ogg_int32_t toBARK(int n){ } } -static int MLOOP_1[64]={ +static const int MLOOP_1[64]={ 0,10,11,11, 12,12,12,12, 13,13,13,13, 13,13,13,13, 14,14,14,14, 14,14,14,14, 14,14,14,14, 14,14,14,14, 15,15,15,15, 15,15,15,15, 15,15,15,15, 15,15,15,15, 15,15,15,15, 15,15,15,15, 15,15,15,15, 15,15,15,15, }; -static int MLOOP_2[64]={ +static const int MLOOP_2[64]={ 0,4,5,5, 6,6,6,6, 7,7,7,7, 7,7,7,7, 8,8,8,8, 8,8,8,8, 8,8,8,8, 8,8,8,8, 9,9,9,9, 9,9,9,9, 9,9,9,9, 9,9,9,9, 9,9,9,9, 9,9,9,9, 9,9,9,9, 9,9,9,9, }; -static int MLOOP_3[8]={0,1,2,2,3,3,3,3}; +static const int MLOOP_3[8]={0,1,2,2,3,3,3,3}; void vorbis_lsp_to_curve(ogg_int32_t *curve,int *map,int n,int ln, ogg_int32_t *lsp,int m, |