aboutsummaryrefslogtreecommitdiffhomepage
path: root/libswscale
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-27 21:59:13 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-27 21:59:13 +0000
commit6157b0b3ea1d5d7a03ecd814a17689a46b17d7e8 (patch)
treebdc86498fa1af5e978b0cc3e95faa90427c00215 /libswscale
parent2beac8d1e70138c39139a762333620cfd7fa9f2d (diff)
Change "p" asm constraints to "g", since "p" was a no longer necessary hack to
make AMD64 compilation work and ICC can not handle "p". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21341 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c
index 3725979bd1..e725a3bb0a 100644
--- a/libswscale/swscale_template.c
+++ b/libswscale/swscale_template.c
@@ -102,7 +102,7 @@
"mov (%%"REG_d"), %%"REG_S" \n\t"\
"jb 1b \n\t"\
:: "r" (&c->redDither),\
- "r" (dest), "p" (width)\
+ "r" (dest), "g" (width)\
: "%"REG_a, "%"REG_d, "%"REG_S\
);
@@ -164,7 +164,7 @@
"mov (%%"REG_d"), %%"REG_S" \n\t"\
"jb 1b \n\t"\
:: "r" (&c->redDither),\
- "r" (dest), "p" (width)\
+ "r" (dest), "g" (width)\
: "%"REG_a, "%"REG_d, "%"REG_S\
);