summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-09 22:57:37 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-09 22:57:37 +0000
commit9e83b538224d04a2276d98f63724ae8af8adea60 (patch)
tree081ea790a3c7d347f1c52b641d8c093bdd6395a2 /libswscale/swscale.c
parenta09d0bac78ae98d6388839f60aefcd01ec063417 (diff)
downloadmpv-9e83b538224d04a2276d98f63724ae8af8adea60.tar.bz2
mpv-9e83b538224d04a2276d98f63724ae8af8adea60.tar.xz
Make dither4 & dither8 const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25967 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r--libswscale/swscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 4f820e53aa..62a4ab4068 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -194,11 +194,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,};