summaryrefslogtreecommitdiff
path: root/libswscale/yuv2rgb.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-02-09 22:57:37 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-02-09 22:57:37 +0000
commitae797914dd8db8a6b446c76d28f970e5474ef2d2 (patch)
tree35a6c31497b67048e6c6e378fd29cc9362307904 /libswscale/yuv2rgb.c
parent7ce3e4a882318424f5163e2c62bfb3fb2fe9391c (diff)
Make dither4 & dither8 const.
Originally committed as revision 25967 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r--libswscale/yuv2rgb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 0b175ffe38..83a7e67cef 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -170,11 +170,11 @@ static volatile uint64_t attribute_used __attribute__((aligned(8))) g5Dither;
static volatile uint64_t attribute_used __attribute__((aligned(8))) g6Dither;
static volatile uint64_t attribute_used __attribute__((aligned(8))) r5Dither;
-static uint64_t __attribute__((aligned(8))) dither4[2]={
+DECLARE_ASM_CONST(8, uint64_t, dither4[2])={
0x0103010301030103LL,
0x0200020002000200LL,};
-static uint64_t __attribute__((aligned(8))) dither8[2]={
+DECLARE_ASM_CONST(8, uint64_t, dither8[2])={
0x0602060206020602LL,
0x0004000400040004LL,};