summaryrefslogtreecommitdiff
path: root/libavcodec/x86/h264_intrapred.asm
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-07-06 10:53:43 +0300
committerMartin Storsjö <martin@martin.st>2012-07-06 21:07:23 +0300
commitf27386cdc76d8524df71e684a3ec5481940004f1 (patch)
tree2df64c8c63833f56b449ea4df129aac4dfefcd03 /libavcodec/x86/h264_intrapred.asm
parent5adc829eb0787682111ca063bfc2b31558999dff (diff)
x86: h264_intrapred: Don't add the 'd' suffix to the SPLATB_REG macro
The SPLATB_REG macro already adds the 'd' suffix internally. This fixes building on Win64, which has been broken since 878e66902. This worked for unix, where r2 happened to be rdx in this case, which with the first suffix rdxd was mapped to eax, and eaxd is defined back to eax. On win64 however, r2 happened to be R8 in this case, and R8d mapps to R8D just fine, but there's no mapping for R8Dd to anything. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/x86/h264_intrapred.asm')
-rw-r--r--libavcodec/x86/h264_intrapred.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/h264_intrapred.asm b/libavcodec/x86/h264_intrapred.asm
index 5984454824..50a615b054 100644
--- a/libavcodec/x86/h264_intrapred.asm
+++ b/libavcodec/x86/h264_intrapred.asm
@@ -156,7 +156,7 @@ cglobal pred16x16_dc, 2,7
%if cpuflag(ssse3)
pxor m1, m1
%endif
- SPLATB_REG m0, r2d, m1
+ SPLATB_REG m0, r2, m1
%if mmsize==8
mov r3d, 8