diff mbox series

[FFmpeg-devel,4/9] avcodec/ljpegenc: Remove unnecessary emms_c()

Message ID GV1P250MB0737F6A6720A2D8C30918F7D8F5C9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit af94ae7dc78b5379d62cd315d25a18f0d2c3fa18
Headers show
Series None | expand

Commit Message

Andreas Rheinhardt Oct. 6, 2022, 12:57 a.m. UTC
This encoder does not use any DSP function at all.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/ljpegenc.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c
index 4b88218990..81c52a7c78 100644
--- a/libavcodec/ljpegenc.c
+++ b/libavcodec/ljpegenc.c
@@ -248,8 +248,6 @@  static int ljpeg_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
     if (ret < 0)
         return ret;
 
-    emms_c();
-
     ff_mjpeg_escape_FF(&pb, header_bits >> 3);
     ff_mjpeg_encode_picture_trailer(&pb, header_bits);