X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=imdct.c;h=32928487b724653535d604adbf690e013a7eb516;hp=5f48ba44c11b1186f6ebea4d5cec33b34e622bcc;hb=1d54a5412ef39590022e6dd4448881f267e96d0b;hpb=e8089cd5efad59a5eec689117acf563a38b8c6c7;ds=sidebyside diff --git a/imdct.c b/imdct.c index 5f48ba44..32928487 100644 --- a/imdct.c +++ b/imdct.c @@ -59,7 +59,7 @@ struct mdct_context { }; /** cos(2 * pi * x / n) for 0 <= x <= n / 4, followed by its reverse */ -#define COSINE_TAB(n) fftsample_t cos_ ## n[n / 2] __a_aligned(16) +#define COSINE_TAB(n) static fftsample_t cos_ ## n[n / 2] __a_aligned(16) COSINE_TAB(16); COSINE_TAB(32); @@ -80,7 +80,7 @@ static fftsample_t *cos_tabs[] = { cos_4096, cos_8192, cos_16384, cos_32768, cos_65536, }; -static int split_radix_permutation(int i, int n) +__a_const static int split_radix_permutation(int i, int n) { int m; if (n <= 2)