From d06518752b84f534acf8cddfe2c228aa1aa07dcf Mon Sep 17 00:00:00 2001 From: John Comeau Date: Sat, 31 Dec 2016 23:52:37 -0800 Subject: [PATCH] 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 --- 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 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