From 1faedb9a119ac4a8c5126255e3855f3bfb30ffb6 Mon Sep 17 00:00:00 2001 From: James Almer Date: Wed, 11 Sep 2019 20:50:45 -0300 Subject: [PATCH] x85/opusdsp: enable the functions on all FMA3 CPUs It's not using ymm registers, so limiting it to CPUs with fast AVX is not necessary. Signed-off-by: James Almer --- libavcodec/x86/opusdsp_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/x86/opusdsp_init.c b/libavcodec/x86/opusdsp_init.c index 6834c4e6a4..5c8a4c22e9 100644 --- a/libavcodec/x86/opusdsp_init.c +++ b/libavcodec/x86/opusdsp_init.c @@ -28,7 +28,7 @@ av_cold void ff_opus_dsp_init_x86(OpusDSP *ctx) { int cpu_flags = av_get_cpu_flags(); - if (EXTERNAL_FMA3_FAST(cpu_flags)) { + if (EXTERNAL_FMA3(cpu_flags)) { ctx->postfilter = ff_opus_postfilter_fma3; ctx->deemphasis = ff_opus_deemphasis_fma3; }