diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-06-02 22:18:56 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-06-02 22:18:56 +0000 |
commit | 6a90ef1128ca51713804e94da00f9c3a7440ec16 (patch) | |
tree | 7334efc2d5286d3842c0256a26673a381c9514b2 /src/libmpeg2/slice_xvmc.c | |
parent | 11de71b0938af5b027b78b0e0db9617ab22a319f (diff) | |
download | xine-lib-6a90ef1128ca51713804e94da00f9c3a7440ec16.tar.gz xine-lib-6a90ef1128ca51713804e94da00f9c3a7440ec16.tar.bz2 |
Various static/const fixes from Gentoo.
CVS patchset: 8009
CVS date: 2006/06/02 22:18:56
Diffstat (limited to 'src/libmpeg2/slice_xvmc.c')
-rw-r--r-- | src/libmpeg2/slice_xvmc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libmpeg2/slice_xvmc.c b/src/libmpeg2/slice_xvmc.c index 1ef3fb585..fb0fab1e9 100644 --- a/src/libmpeg2/slice_xvmc.c +++ b/src/libmpeg2/slice_xvmc.c @@ -46,7 +46,7 @@ #include "vlc.h" /* original (non-patched) scan tables */ -static uint8_t mpeg2_scan_norm_orig[64] ATTR_ALIGN(16) = +static const uint8_t mpeg2_scan_norm_orig[64] ATTR_ALIGN(16) = { /* Zig-Zag scan pattern */ 0, 1, 8,16, 9, 2, 3,10, @@ -59,7 +59,7 @@ static uint8_t mpeg2_scan_norm_orig[64] ATTR_ALIGN(16) = 53,60,61,54,47,55,62,63 }; -static uint8_t mpeg2_scan_alt_orig[64] ATTR_ALIGN(16) = +static const uint8_t mpeg2_scan_alt_orig[64] ATTR_ALIGN(16) = { /* Alternate scan pattern */ 0,8,16,24,1,9,2,10,17,25,32,40,48,56,57,49, @@ -68,9 +68,9 @@ static uint8_t mpeg2_scan_alt_orig[64] ATTR_ALIGN(16) = 53,61,22,30,7,15,23,31,38,46,54,62,39,47,55,63 }; -uint8_t mpeg2_scan_alt_ptable[64] ATTR_ALIGN(16); -uint8_t mpeg2_scan_norm_ptable[64] ATTR_ALIGN(16); -uint8_t mpeg2_scan_orig_ptable[64] ATTR_ALIGN(16); +static uint8_t mpeg2_scan_alt_ptable[64] ATTR_ALIGN(16); +static uint8_t mpeg2_scan_norm_ptable[64] ATTR_ALIGN(16); +static uint8_t mpeg2_scan_orig_ptable[64] ATTR_ALIGN(16); void xvmc_setup_scan_ptable( void ) { @@ -83,7 +83,7 @@ void xvmc_setup_scan_ptable( void ) } -static int non_linear_quantizer_scale [] = { +static const int non_linear_quantizer_scale [] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 20, 22, 24, 28, 32, 36, 40, 44, 48, 52, |