[FFmpeg-cvslog] lossless_videodsp.asm: fix compilation.

Reimar Döffinger git at videolan.org
Tue Jan 21 19:46:50 CET 2014


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Mon Jan 20 23:23:58 2014 +0100| [76421982d0427aeef403b7842a233c881ae1600a] | committer: Reimar Döffinger

lossless_videodsp.asm: fix compilation.

Fixes these errors with nasm:
libavcodec/x86/lossless_videodsp.asm:86: error: invalid combination of opcode and operands
libavcodec/x86/lossless_videodsp.asm:88: error: invalid combination of opcode and operands
I don't know whether movd or movq was meant, but either way
maskq vs. maskd must match the mov size.

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

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

 libavcodec/x86/lossless_videodsp.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/lossless_videodsp.asm b/libavcodec/x86/lossless_videodsp.asm
index e71de76..e496c80 100644
--- a/libavcodec/x86/lossless_videodsp.asm
+++ b/libavcodec/x86/lossless_videodsp.asm
@@ -32,7 +32,7 @@ pb_zzzzzzzz67676767: db -1,-1,-1,-1,-1,-1,-1,-1, 6, 7, 6, 7, 6, 7, 6, 7
 SECTION_TEXT
 
 %macro ADD_INT16_LOOP 1 ; %1 = is_aligned
-    movd      m4, maskq
+    movd      m4, maskd
     SPLATW  m4, m4
     add     wq, wq
     test    wq, 2*mmsize - 1



More information about the ffmpeg-cvslog mailing list