[FFmpeg-devel] [PATCH] x86/hevc_idct: fix movd parameter size in DC_ADD_INIT

James Almer jamrial at gmail.com
Thu Jun 19 06:10:43 CEST 2014


Fixes compilation with NASM x86_64

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/x86/hevc_idct.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/hevc_idct.asm b/libavcodec/x86/hevc_idct.asm
index 5d2f5b5..6963dc7 100644
--- a/libavcodec/x86/hevc_idct.asm
+++ b/libavcodec/x86/hevc_idct.asm
@@ -32,7 +32,7 @@ SECTION .text
 %macro DC_ADD_INIT 2
     add              %1w, ((1 << 14-8) + 1)
     sar              %1w, (15-8)
-    movd              m0, %1
+    movd              m0, %1d
     lea               %1, [%2*3]
     SPLATW            m0, m0, 0
     pxor              m1, m1
-- 
1.8.5.5



More information about the ffmpeg-devel mailing list