[FFmpeg-devel] PATCH for building with nasm

John Comeau jc at unternet.net
Sun Jan 1 09:52:37 EET 2017


fixes `operation size not specified` errors as described here:
http://stackoverflow.com/questions/36854583/compiling-ffmpeg-for-kali-linux-2

I rebuilt again with yasm and made sure it didn't break that.
-- 
John Comeau KE5TFZ jc at unternet.net http://jc.unternet.net/
"A place for everything, and everything all over the place"
-------------- next part --------------
diff --git a/libavcodec/x86/imdct36.asm b/libavcodec/x86/imdct36.asm
index 409b2c5796..960eabdda5 100644
--- a/libavcodec/x86/imdct36.asm
+++ b/libavcodec/x86/imdct36.asm
@@ -145,9 +145,9 @@ SECTION .text
 %macro STORE 4
 %if cpuflag(sse4)
     movss     [%3       ], %1
-    extractps [%3 +   %4], %1, 1
-    extractps [%3 + 2*%4], %1, 2
-    extractps [%3 + 3*%4], %1, 3
+    extractps dword [%3 +   %4], %1, 1
+    extractps dword [%3 + 2*%4], %1, 2
+    extractps dword [%3 + 3*%4], %1, 3
 %else
     movhlps %2, %1
     movss   [%3       ], %1


More information about the ffmpeg-devel mailing list