summaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2008-10-09 11:12:38 +0000
committerDiego Pettenò <flameeyes@gmail.com>2008-10-09 11:12:38 +0000
commitd0b69b2855ce5bcaae2fb8b9769914c4dc764b5f (patch)
tree891cae6ad9ad9761121c102bba9fdb7ffc90cd41 /libswscale
parentfaf6112e26e1cfa3c37497f66ebdfe17ff316552 (diff)
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. Originally committed as revision 27736 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c4
-rw-r--r--libswscale/yuv2rgb.c2
2 files changed, 2 insertions, 4 deletions
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, },
};
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 9b64c06dec..d19430fd17 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -41,8 +41,6 @@
#define DITHER1XBPP // only for MMX
-extern const uint8_t dither_2x2_4[2][8];
-extern const uint8_t dither_2x2_8[2][8];
extern const uint8_t dither_8x8_32[8][8];
extern const uint8_t dither_8x8_73[8][8];
extern const uint8_t dither_8x8_220[8][8];