swscale: specify register type.

Fixes a compilation failure on win64.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
Oka Motofumi 2012-01-10 06:39:04 -08:00 committed by Ronald S. Bultje
parent e652cc9606
commit cd44521625
1 changed files with 2 additions and 2 deletions

View File

@ -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