From 98fb4aebc22fd0404fac69fd97dd931d8618f5b6 Mon Sep 17 00:00:00 2001 From: flameeyes Date: Thu, 9 Oct 2008 11:12:38 +0000 Subject: Mark dither_2x2_{8,4} static to swscale.c These two tables are not used outside swscale.c even though they are declared also in yuv2rgb.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27736 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libswscale/swscale.c') diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 577a0dfa9d..2cac8729e2 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -264,12 +264,12 @@ static unsigned char clip_table[768]; static SwsVector *sws_getConvVec(SwsVector *a, SwsVector *b); -const uint8_t __attribute__((aligned(8))) dither_2x2_4[2][8]={ +static const uint8_t __attribute__((aligned(8))) dither_2x2_4[2][8]={ { 1, 3, 1, 3, 1, 3, 1, 3, }, { 2, 0, 2, 0, 2, 0, 2, 0, }, }; -const uint8_t __attribute__((aligned(8))) dither_2x2_8[2][8]={ +static const uint8_t __attribute__((aligned(8))) dither_2x2_8[2][8]={ { 6, 2, 6, 2, 6, 2, 6, 2, }, { 0, 4, 0, 4, 0, 4, 0, 4, }, }; -- cgit v1.2.3