diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-08 01:12:44 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-08 01:12:44 +0100 |
commit | 3a233b827783151c4c08985224782f1dcce43a8f (patch) | |
tree | 5377813a1b3369d2700050df921ec0b33426b7f6 /src/libmpeg2/idct_altivec.c | |
parent | f12149f0ca2743e6f5f9d39ba53b27c306137597 (diff) | |
download | xine-lib-3a233b827783151c4c08985224782f1dcce43a8f.tar.gz xine-lib-3a233b827783151c4c08985224782f1dcce43a8f.tar.bz2 |
Mark various private arrays, structs & fn parameters as static and/or const.
Two of the modified files are headers, but each contains definitions as well as
declarations and is only ever used once.
Diffstat (limited to 'src/libmpeg2/idct_altivec.c')
-rw-r--r-- | src/libmpeg2/idct_altivec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmpeg2/idct_altivec.c b/src/libmpeg2/idct_altivec.c index ed8b58cfd..895984c45 100644 --- a/src/libmpeg2/idct_altivec.c +++ b/src/libmpeg2/idct_altivec.c @@ -148,7 +148,7 @@ #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) {a, b, c, d, e, f, g, h} #endif -static vector_s16_t constants[5] = { +static const vector_s16_t constants[5] = { VEC_S16(23170, 13573, 6518, 21895, -23170, -21895, 32, 31), VEC_S16(16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725), VEC_S16(22725, 31521, 29692, 26722, 22725, 26722, 29692, 31521), |