[FFmpeg-cvslog] x86/tx_float: Fix building for platforms with a symbol prefix

Martin Storsjö git at videolan.org
Tue Sep 6 18:46:52 EEST 2022


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue Sep  6 12:24:28 2022 +0300| [e4759fa951311d7b02a26756af63f7e5b499c7fc] | committer: Martin Storsjö

x86/tx_float: Fix building for platforms with a symbol prefix

This fixes building for x86 macOS (both i386 and x86_64) and
i386 windows.

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 libavutil/x86/tx_float.asm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavutil/x86/tx_float.asm b/libavutil/x86/tx_float.asm
index 1b9131e7fa..69f67720c1 100644
--- a/libavutil/x86/tx_float.asm
+++ b/libavutil/x86/tx_float.asm
@@ -744,7 +744,7 @@ cglobal fft8_float, 4, 4, 6, ctx, out, in, tmp
 
 %if %1
 cglobal fft8_ns_float, 4, 4, 6, ctx, out, in, tmp
-    call ff_tx_fft8_asm_float_sse3
+    call mangle(ff_tx_fft8_asm_float_sse3)
     RET
 %endif
 %endmacro
@@ -784,7 +784,7 @@ cglobal fft8_float, 4, 4, 4, ctx, out, in, tmp
 
 %if %1
 cglobal fft8_ns_float, 4, 4, 4, ctx, out, in, tmp
-    call ff_tx_fft8_asm_float_avx
+    call mangle(ff_tx_fft8_asm_float_avx)
     RET
 %endif
 %endmacro
@@ -833,7 +833,7 @@ cglobal fft16_float, 4, 4, 8, ctx, out, in, tmp
 
 %if %2
 cglobal fft16_ns_float, 4, 4, 8, ctx, out, in, tmp
-    call ff_tx_fft16_asm_float_ %+ %1
+    call mangle(ff_tx_fft16_asm_float_ %+ %1)
     RET
 %endif
 %endmacro
@@ -917,7 +917,7 @@ cglobal fft32_float, 4, 4, 16, ctx, out, in, tmp
 
 %if %2
 cglobal fft32_ns_float, 4, 4, 16, ctx, out, in, tmp
-    call ff_tx_fft32_asm_float_ %+ %1
+    call mangle(ff_tx_fft32_asm_float_ %+ %1)
     RET
 %endif
 %endmacro
@@ -1342,7 +1342,7 @@ cglobal fft_sr_ns_float, 4, 9, 16, 272, ctx, out, in, tmp, len, lut, itab, rtab,
     mov lutq, [ctxq + AVTXContext.map]
     mov tgtq, lenq
 
-    call ff_tx_fft_sr_asm_float_ %+ %1
+    call mangle(ff_tx_fft_sr_asm_float_ %+ %1)
     RET
 %endif
 %endmacro



More information about the ffmpeg-cvslog mailing list