summaryrefslogtreecommitdiff
path: root/libswscale/x86
diff options
context:
space:
mode:
authorOka Motofumi <chikuzen.mo@gmail.com>2012-01-10 06:39:04 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-01-10 09:17:37 -0800
commitcd44521625d0e2ada0f2dc82eee0707ab758d31e (patch)
tree54a6b164aef15464825487c300a4b9aa965082b0 /libswscale/x86
parente652cc9606068189cb512a36f0335a5cf2ecf287 (diff)
swscale: specify register type.
Fixes a compilation failure on win64. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libswscale/x86')
-rw-r--r--libswscale/x86/input.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/x86/input.asm b/libswscale/x86/input.asm
index 4bdb575765..a23cf05301 100644
--- a/libswscale/x86/input.asm
+++ b/libswscale/x86/input.asm
@@ -135,7 +135,7 @@ cglobal %2ToY, 3, 3, %1, dst, src, w
%macro YUYV_TO_UV_FN 2-3
cglobal %2ToUV, 3, 4, %1, dstU, dstV, src, w
%ifdef ARCH_X86_64
- movsxd wq, r4m
+ movsxd wq, dword r4m
%else ; x86-32
mov wq, r4m
%endif
@@ -190,7 +190,7 @@ cglobal %2ToUV, 3, 4, %1, dstU, dstV, src, w
%macro NVXX_TO_UV_FN 2
cglobal %2ToUV, 3, 4, %1, dstU, dstV, src, w
%ifdef ARCH_X86_64
- movsxd wq, r4m
+ movsxd wq, dword r4m
%else ; x86-32
mov wq, r4m
%endif