[FFmpeg-devel] [PATCH] lossless_videodsp.asm: fix compilation.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Jan 20 23:28:47 CET 2014
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>
---
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 d33299c..066e437 100644
--- a/libavcodec/x86/lossless_videodsp.asm
+++ b/libavcodec/x86/lossless_videodsp.asm
@@ -24,7 +24,7 @@
SECTION_TEXT
%macro ADD_INT16_LOOP 1 ; %1 = is_aligned
- movd m4, maskq
+ movd m4, maskd
punpcklwd m4, m4
punpcklwd m4, m4
punpcklwd m4, m4
--
1.8.5.3
More information about the ffmpeg-devel
mailing list