From 0185fc26b02cacd81d6e7c5745ff0752afdb4b1c Mon Sep 17 00:00:00 2001 From: Monty Date: Wed, 16 Oct 2002 08:10:09 +0000 Subject: 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 --- floor0.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'floor0.c') diff --git a/floor0.c b/floor0.c index 13f5c24..04326b8 100644 --- a/floor0.c +++ b/floor0.c @@ -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, -- cgit v1.2.1