[FFmpeg-devel] [PATCH 05/10] avcodec/ffv1(dec|enc): Remove unnecessary emms_c()
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Mon Aug 22 18:10:10 EEST 2022
These codecs do not use MMX at all.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavcodec/ffv1dec.c | 2 --
libavcodec/ffv1enc.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index 4fe1738dea..fd549c7913 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -360,8 +360,6 @@ static int decode_slice(AVCodecContext *c, void *arg)
}
}
- emms_c();
-
ff_thread_report_progress(&f->picture, si, 0);
return 0;
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index 90593fbaf1..b939871664 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -1076,7 +1076,6 @@ retry:
} else {
ret = encode_rgb_frame(fs, planes, width, height, p->linesize);
}
- emms_c();
if (ret < 0) {
av_assert0(fs->slice_coding_mode == 0);
--
2.34.1
More information about the ffmpeg-devel
mailing list