This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 509be049b6a197688dfb8ffeec72b79aa31a7666
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Sat Nov 15 09:43:31 2025 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Fri Feb 13 09:21:33 2026 +0100

    swresample/{audioconvert,rematrix}: Don't check for HAVE_MMX
    
    There are no MMX functions left in all of libswresample, so checking
    for it makes no sense. Notice that configure currently disables x86asm
    if mmx is disabled, so the check is also redundant.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libswresample/audioconvert.c | 2 +-
 libswresample/rematrix.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswresample/audioconvert.c b/libswresample/audioconvert.c
index 04108fb966..f8bac98ca5 100644
--- a/libswresample/audioconvert.c
+++ b/libswresample/audioconvert.c
@@ -176,7 +176,7 @@ AudioConvert *swri_audio_convert_alloc(enum AVSampleFormat 
out_fmt,
         }
     }
 
-#if ARCH_X86 && HAVE_X86ASM && HAVE_MMX
+#if ARCH_X86 && HAVE_X86ASM
     swri_audio_convert_init_x86(ctx, out_fmt, in_fmt, channels);
 #elif ARCH_ARM
     swri_audio_convert_init_arm(ctx, out_fmt, in_fmt, channels);
diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c
index 76681e9229..b725159730 100644
--- a/libswresample/rematrix.c
+++ b/libswresample/rematrix.c
@@ -552,7 +552,7 @@ av_cold int swri_rematrix_init(SwrContext *s){
         s->matrix_ch[i][0]= ch_in;
     }
 
-#if ARCH_X86 && HAVE_X86ASM && HAVE_MMX
+#if ARCH_X86 && HAVE_X86ASM
     return swri_rematrix_init_x86(s);
 #endif
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to