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 <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-11-15 09:43:31 +01:00
parent 374b3ab03c
commit 509be049b6
2 changed files with 2 additions and 2 deletions

View File

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

View File

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