[FFmpeg-devel] [PATCH 04/10] avcodec/jpeglsenc: Remove unnecessary emms_c()

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Aug 22 18:10:09 EEST 2022


This encoder does not use any MMX anywhere.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 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;
-- 
2.34.1



More information about the ffmpeg-devel mailing list