mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 12:50:49 +08:00
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:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user