[FFmpeg-cvslog] avcodec/x86/imdct36: fix building with nasm 2.11.05

John Comeau git at videolan.org
Mon Jan 2 21:49:45 EET 2017


ffmpeg | branch: master | John Comeau <jc at unternet.net> | Sat Dec 31 23:52:37 2016 -0800| [d06518752b84f534acf8cddfe2c228aa1aa07dcf] | committer: Michael Niedermayer

avcodec/x86/imdct36: fix building with nasm 2.11.05

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.

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/x86/imdct36.asm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/x86/imdct36.asm b/libavcodec/x86/imdct36.asm
index 409b2c5..960eabd 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-cvslog mailing list