aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-22 12:33:50 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-24 03:42:38 +0200
commit4a699858d56261b87afad98f03ca3f9de4b196be (patch)
treedec59f51e3dffc7a3f090bc8b0e6d0227528332f
parent73f024aa581ddbc49e6db9d39d944ce64b9d8a1c (diff)
downloadffmpeg-4a699858d56261b87afad98f03ca3f9de4b196be.tar.gz
avcodec/ffv1(dec|enc): Remove unnecessary emms_c()
These codecs do not use MMX at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/ffv1dec.c2
-rw-r--r--libavcodec/ffv1enc.c1
2 files changed, 0 insertions, 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);