summaryrefslogtreecommitdiff
path: root/apps/codecs/liba52/imdct.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/liba52/imdct.c')
-rw-r--r--apps/codecs/liba52/imdct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/liba52/imdct.c b/apps/codecs/liba52/imdct.c
index 09fed18ee3..d1035030fd 100644
--- a/apps/codecs/liba52/imdct.c
+++ b/apps/codecs/liba52/imdct.c
@@ -46,7 +46,7 @@ typedef struct complex_s {
46 sample_t imag; 46 sample_t imag;
47} complex_t; 47} complex_t;
48 48
49static uint8_t fftorder[] = { 49static const uint8_t fftorder[] = {
50 0,128, 64,192, 32,160,224, 96, 16,144, 80,208,240,112, 48,176, 50 0,128, 64,192, 32,160,224, 96, 16,144, 80,208,240,112, 48,176,
51 8,136, 72,200, 40,168,232,104,248,120, 56,184, 24,152,216, 88, 51 8,136, 72,200, 40,168,232,104,248,120, 56,184, 24,152,216, 88,
52 4,132, 68,196, 36,164,228,100, 20,148, 84,212,244,116, 52,180, 52 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)
192 BUTTERFLY_HALF (buf[1], buf[3], buf[5], buf[7], roots16[1]); 192 BUTTERFLY_HALF (buf[1], buf[3], buf[5], buf[7], roots16[1]);
193} 193}
194 194
195static void ifft_pass (complex_t * buf, sample_t * weight, int n) 195static void ifft_pass (complex_t * buf, const sample_t * weight, int n)
196{ 196{
197 complex_t * buf1; 197 complex_t * buf1;
198 complex_t * buf2; 198 complex_t * buf2;