summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-19 12:56:16 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-19 12:56:16 +0000
commit93cd7326b356de318f510901886e91a4f650f849 (patch)
tree9ef86e4e47e21da4f70f764d3e4e0a05bae65c3b /postproc
parente7568f017909ed9a5a77f0be21b3558cee91ac26 (diff)
downloadmpv-93cd7326b356de318f510901886e91a4f650f849.tar.bz2
mpv-93cd7326b356de318f510901886e91a4f650f849.tar.xz
100l, fix broken AMD64 patch. To whoever applied it: Did you actually _try_
to check if it's correct?? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14537 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r--postproc/swscale_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c
index 5f7a28d1f0..48a665895b 100644
--- a/postproc/swscale_template.c
+++ b/postproc/swscale_template.c
@@ -2275,7 +2275,7 @@ static inline void RENAME(hyscale)(uint16_t *dst, int dstWidth, uint8_t *src, in
"mov (%%"REG_b"), %%"REG_S" \n\t"\
"call *%4 \n\t"\
"addl (%%"REG_b", %%"REG_a"), %%ecx\n\t"\
- "add %%"REG_a", %%"REG_d" \n\t"\
+ "add %%"REG_a", %%"REG_D" \n\t"\
"xor %%"REG_a", %%"REG_a" \n\t"\
FUNNY_Y_CODE
@@ -2289,7 +2289,7 @@ FUNNY_Y_CODE
:: "m" (src), "m" (dst), "m" (mmx2Filter), "m" (mmx2FilterPos),
"m" (funnyYCode)
- : "%"REG_a, "%"REG_b, "%"REG_c, "%"REG_d, "%"REG_S, "%"REG_d
+ : "%"REG_a, "%"REG_b, "%"REG_c, "%"REG_d, "%"REG_S, "%"REG_D
);
for(i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) dst[i] = src[srcW-1]*128;
}