aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-31 21:12:26 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-04 11:04:45 +0200
commitaf1bf96138919ede327adbed7760ef178a6a0616 (patch)
tree61aa261b9a1f823d752d4c77654a14c844647794 /libavfilter
parent63bd0f4ce82ede6e049d342c8fdb549fbfb26566 (diff)
downloadffmpeg-af1bf96138919ede327adbed7760ef178a6a0616.tar.gz
avfilter/afir_template: Remove unnecessary emms_c()
The floating point dsp code does not use MMX registers since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/afir_template.c2
1 files changed, 0 insertions, 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;