[FFmpeg-cvslog] swscale: specify register type.

Oka Motofumi git at videolan.org
Wed Jan 11 02:57:12 CET 2012


ffmpeg | branch: master | Oka Motofumi <chikuzen.mo at gmail.com> | Tue Jan 10 06:39:04 2012 -0800| [cd44521625d0e2ada0f2dc82eee0707ab758d31e] | committer: Ronald S. Bultje

swscale: specify register type.

Fixes a compilation failure on win64.

Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd44521625d0e2ada0f2dc82eee0707ab758d31e
---

 libswscale/x86/input.asm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswscale/x86/input.asm b/libswscale/x86/input.asm
index 4bdb575..a23cf05 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



More information about the ffmpeg-cvslog mailing list