[FFmpeg-cvslog] x86/tx_float: change a condition in a preprocessor check

James Almer git at videolan.org
Fri Sep 23 22:05:18 EEST 2022


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Sep 23 16:04:10 2022 -0300| [0d8f43c74d0b1039ba70aacb4c9c7768e8bebf9f] | committer: James Almer

x86/tx_float: change a condition in a preprocessor check

Fixes compilation with yasm.

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavutil/x86/tx_float.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/x86/tx_float.asm b/libavutil/x86/tx_float.asm
index fd934e9eac..4f4fd720f8 100644
--- a/libavutil/x86/tx_float.asm
+++ b/libavutil/x86/tx_float.asm
@@ -1594,7 +1594,7 @@ cglobal fft_pfa_15xM_float, 4, 14, 16, 320, ctx, out, in, stride, len, lut, buf,
     mov btmpq, outq
 
     mov outq, [ctxq + AVTXContext.tmp]
-%if !%2
+%if %2 == 0
     movsxd lenq, dword [ctxq + AVTXContext.len]
     mov lutq, [ctxq + AVTXContext.map]
 %endif



More information about the ffmpeg-cvslog mailing list