diff options
author | Mikulas Patocka <mikulas@twibright.com> | 2017-11-23 20:12:55 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-11-25 13:11:45 -0300 |
commit | fbdd78fa3e9949eb8b0cf6edc2548ed50e11bf71 (patch) | |
tree | 32194081fc4eae9f520a544dc453e9204c563ae4 /libavcodec/x86 | |
parent | f4e319d8a94697f21802e2682085599a93a39a57 (diff) | |
download | ffmpeg-fbdd78fa3e9949eb8b0cf6edc2548ed50e11bf71.tar.gz |
avcodec/fft: fix INTERL macro on 3dnow
The commit b7c16a3f2c4921f613319938b8ee0e3d6fa83e8d ("x86: fft: Port to
cpuflags") breaks the opus decoder in ffmpeg when compiling for 3dnow. The
output is audible, but there's a lot of noise.
The reason for the breakage is that the commit unintentionally changed the
INTERL macro so that it is empty when compiling for 3dnow. This patch
fixes it.
Signed-off-by: Mikulas Patocka <mikulas@twibright.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/fft.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/fft.asm b/libavcodec/x86/fft.asm index 53cfd64b3a..a671e8f48e 100644 --- a/libavcodec/x86/fft.asm +++ b/libavcodec/x86/fft.asm @@ -199,7 +199,7 @@ SECTION .text vextractf128 %4 %+ H(%5), %3, 0 vextractf128 %4(%5 + 1), %2, 1 vextractf128 %4 %+ H(%5 + 1), %3, 1 -%elif cpuflag(sse) +%elif cpuflag(sse) || cpuflag(3dnow) mova %3, %2 unpcklps %2, %1 unpckhps %3, %1 |