summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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\
);