1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avcodec/fft: fix INTERL macro on 3dnow

The commit b7c16a3f2c ("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>
This commit is contained in:
Mikulas Patocka 2017-11-23 20:12:55 +01:00 committed by James Almer
parent f4e319d8a9
commit fbdd78fa3e

View File

@ -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