From af1bf96138919ede327adbed7760ef178a6a0616 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 31 Aug 2023 21:12:26 +0200 Subject: [PATCH] avfilter/afir_template: Remove unnecessary emms_c() The floating point dsp code does not use MMX registers since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88. Signed-off-by: Andreas Rheinhardt --- libavfilter/afir_template.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/afir_template.c b/libavfilter/afir_template.c index 099fda2520..9a11ec2fa6 100644 --- a/libavfilter/afir_template.c +++ b/libavfilter/afir_template.c @@ -318,7 +318,6 @@ static int fn(fir_quantum)(AVFilterContext *ctx, AVFrame *out, int ch, int ioffs #else s->fdsp->vector_dmul_scalar(src + input_offset, in, dry_gain, FFALIGN(nb_samples, 8)); #endif - emms_c(); } else { ftype *src2 = src + input_offset; for (int n = 0; n < nb_samples; n++) @@ -385,7 +384,6 @@ static int fn(fir_quantum)(AVFilterContext *ctx, AVFrame *out, int ch, int ioffs #else s->fdsp->vector_dmul_scalar(ptr, ptr, wet_gain, FFALIGN(nb_samples, 8)); #endif - emms_c(); } else { for (int n = 0; n < nb_samples; n++) ptr[n] *= wet_gain;