PR #22454 opened by mkver
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22454
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22454.patch

Added in e995cf1bccc6e91bbaa6a8771e23fb3ab259c110,
yet this filter does not have any dsp function using MMX:
it only has generic x86 assembly, no SIMD at all,
so this emms_c() was always unnecessary.


>From eabfdd6019fb71d04f44fe972d014788127f750a Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt <[email protected]>
Date: Mon, 9 Mar 2026 14:05:49 +0100
Subject: [PATCH] avfilter/vf_hqdn3d: Remove unnecessary emms_c()

Added in e995cf1bccc6e91bbaa6a8771e23fb3ab259c110,
yet this filter does not have any dsp function using MMX:
it only has generic x86 assembly, no SIMD at all,
so this emms_c() was always unnecessary.

Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavfilter/vf_hqdn3d.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c
index f79ef04cd3..d880c2bdda 100644
--- a/libavfilter/vf_hqdn3d.c
+++ b/libavfilter/vf_hqdn3d.c
@@ -31,7 +31,6 @@
 #include "config.h"
 #include "libavutil/attributes.h"
 #include "libavutil/common.h"
-#include "libavutil/emms.h"
 #include "libavutil/mem.h"
 #include "libavutil/pixdesc.h"
 #include "libavutil/intreadwrite.h"
@@ -150,7 +149,6 @@ static int denoise_depth(HQDN3DContext *s,
     else
         denoise_temporal(src, dst, frame_ant,
                          w, h, sstride, dstride, temporal, depth);
-    emms_c();
     return 0;
 }
 
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to