diff --git a/libavcodec/x86/fft_mmx.asm b/libavcodec/x86/fft_mmx.asm index 5143611533..007f5caf77 100644 --- a/libavcodec/x86/fft_mmx.asm +++ b/libavcodec/x86/fft_mmx.asm @@ -647,7 +647,11 @@ cglobal fft_permute, 2,7,1 add rsp, 8 RET %elif ARCH_X86_64 +%ifdef PIC + jmp memcpy wrt ..plt +%else jmp memcpy +%endif %else push r2 push r5