diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2009-09-30 19:36:06 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2009-09-30 19:36:06 +0000 |
| commit | 5f3fbd1bb91c66cc7fb95d6cc7d189e4d563029f (patch) | |
| tree | f449c9a5c0d7ca742f6c541cfbc1a64bb93a1882 /apps/codecs/liba52/imdct.c | |
| parent | 6bd92a74d358632155bd7cb05ee3ae44973bbc49 (diff) | |
| download | rockbox-5f3fbd1bb91c66cc7fb95d6cc7d189e4d563029f.zip rockbox-5f3fbd1bb91c66cc7fb95d6cc7d189e4d563029f.tar.gz rockbox-5f3fbd1bb91c66cc7fb95d6cc7d189e4d563029f.tar.bz2 rockbox-5f3fbd1bb91c66cc7fb95d6cc7d189e4d563029f.tar.xz | |
Actually qualify the tables put into .irodata in r22849 as 'const'. Also mark fftorder[] as 'const'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22860 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/liba52/imdct.c')
| -rw-r--r-- | apps/codecs/liba52/imdct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/liba52/imdct.c b/apps/codecs/liba52/imdct.c index 09fed18..d103503 100644 --- a/apps/codecs/liba52/imdct.c +++ b/apps/codecs/liba52/imdct.c @@ -46,7 +46,7 @@ typedef struct complex_s { sample_t imag; } complex_t; -static uint8_t fftorder[] = { +static const uint8_t fftorder[] = { 0,128, 64,192, 32,160,224, 96, 16,144, 80,208,240,112, 48,176, 8,136, 72,200, 40,168,232,104,248,120, 56,184, 24,152,216, 88, 4,132, 68,196, 36,164,228,100, 20,148, 84,212,244,116, 52,180, @@ -192,7 +192,7 @@ static inline void ifft8 (complex_t * buf) BUTTERFLY_HALF (buf[1], buf[3], buf[5], buf[7], roots16[1]); } -static void ifft_pass (complex_t * buf, sample_t * weight, int n) +static void ifft_pass (complex_t * buf, const sample_t * weight, int n) { complex_t * buf1; complex_t * buf2; |