[FFmpeg-devel] [PATCH]Fix compilation with nasm

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jul 22 23:45:54 CEST 2014


Hi!

Attached patch fixes compilation with nasm (and passes fate) here, 
sorry if it is complete nonsense.

Please review, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/x86/hevc_deblock.asm b/libavcodec/x86/hevc_deblock.asm
index 395b20e..01a5250 100644
--- a/libavcodec/x86/hevc_deblock.asm
+++ b/libavcodec/x86/hevc_deblock.asm
@@ -355,7 +355,7 @@ ALIGN 16
 %if %1 > 8
     shl             betaq, %1 - 8
 %endif
-    movd            m13, betaq
+    movq            m13, betaq
     SPLATW          m13, m13, 0
     ;end beta calculations
 
@@ -619,7 +619,7 @@ ALIGN 16
     paddw           m15, m2; p1'
 
     ;beta calculations
-    movd            m10, betaq
+    movq            m10, betaq
     SPLATW          m10, m10, 0
 
     movd            m13, r7d; 1dp0 + 1dp3


More information about the ffmpeg-devel mailing list