[FFmpeg-cvslog] avcodec/ffv1(dec|enc): Remove unnecessary emms_c()
Andreas Rheinhardt
git at videolan.org
Wed Aug 24 04:49:49 EEST 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Aug 22 12:33:50 2022 +0200| [4a699858d56261b87afad98f03ca3f9de4b196be] | committer: Andreas Rheinhardt
avcodec/ffv1(dec|enc): Remove unnecessary emms_c()
These codecs do not use MMX at all.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4a699858d56261b87afad98f03ca3f9de4b196be
---
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);
More information about the ffmpeg-cvslog
mailing list