[FFmpeg-cvslog] Fix NASM compilation.

Reimar Döffinger git at videolan.org
Fri Feb 3 20:42:53 CET 2012


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Fri Feb  3 20:34:56 2012 +0100| [da1ba4e88b5bf723f8889798cb71f4e1cabb7a00] | committer: Reimar Döffinger

Fix NASM compilation.

movd needs explicit register size prefix for NASM.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

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

 libavcodec/x86/rv40dsp.asm |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavcodec/x86/rv40dsp.asm b/libavcodec/x86/rv40dsp.asm
index bff3e7b..c13e9f0 100644
--- a/libavcodec/x86/rv40dsp.asm
+++ b/libavcodec/x86/rv40dsp.asm
@@ -164,8 +164,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2
 
     ; Use result of test now
     jz .loop_512
-    movd       m2, r3
-    movd       m3, r4
+    movd       m2, r3d
+    movd       m3, r4d
     SPLATW     m2, m2
     SPLATW     m3, m3
 
@@ -178,8 +178,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2
 .loop_512:
     sar        r3, 9
     sar        r4, 9
-    movd       m2, r3
-    movd       m3, r4
+    movd       m2, r3d
+    movd       m3, r4d
 %if cpuflag(ssse3)
     punpcklbw  m3, m2
     SPLATW     m3, m3



More information about the ffmpeg-cvslog mailing list