[FFmpeg-cvslog] avcodec/jpeglsenc: Remove unnecessary emms_c()
Andreas Rheinhardt
git at videolan.org
Wed Aug 24 04:49:47 EEST 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Aug 22 00:09:05 2022 +0200| [73f024aa581ddbc49e6db9d39d944ce64b9d8a1c] | committer: Andreas Rheinhardt
avcodec/jpeglsenc: Remove unnecessary emms_c()
This encoder does not use any MMX anywhere.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=73f024aa581ddbc49e6db9d39d944ce64b9d8a1c
---
libavcodec/jpeglsenc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/jpeglsenc.c b/libavcodec/jpeglsenc.c
index ba9355225b..8f3197e687 100644
--- a/libavcodec/jpeglsenc.c
+++ b/libavcodec/jpeglsenc.c
@@ -413,8 +413,6 @@ static int encode_picture_ls(AVCodecContext *avctx, AVPacket *pkt,
/* End of image */
put_marker_byteu(&pb, EOI);
- emms_c();
-
av_shrink_packet(pkt, bytestream2_tell_p(&pb));
*got_packet = 1;
return 0;
More information about the ffmpeg-cvslog
mailing list