diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-08-31 20:24:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-04 11:04:45 +0200 |
commit | c59b082e20a1b3acb68c25913996c8781f7a07b2 (patch) | |
tree | 46d4e2b8f3ba53fa3c707b7fbf48a0eccc6403a6 /libavfilter/vf_scdet.c | |
parent | 8b7a3c6f103c6367743c2ba5e6d958ab346ef2cd (diff) | |
download | ffmpeg-c59b082e20a1b3acb68c25913996c8781f7a07b2.tar.gz |
avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn
ff_scene_sad_get_fn() does not return functions that use
MMX at all.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_scdet.c')
-rw-r--r-- | libavfilter/vf_scdet.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/vf_scdet.c b/libavfilter/vf_scdet.c index 6de84a43a0..15399cfebf 100644 --- a/libavfilter/vf_scdet.c +++ b/libavfilter/vf_scdet.c @@ -126,7 +126,6 @@ static double get_scene_score(AVFilterContext *ctx, AVFrame *frame) count += s->width[plane] * s->height[plane]; } - emms_c(); mafd = (double)sad * 100. / count / (1ULL << s->bitdepth); diff = fabs(mafd - s->prev_mafd); ret = av_clipf(FFMIN(mafd, diff), 0, 100.); |