1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/ljpegenc: Remove unnecessary emms_c()

This encoder does not use any DSP function at all.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-10-05 18:49:00 +02:00
parent 5bd55b488f
commit af94ae7dc7

View File

@ -248,8 +248,6 @@ static int ljpeg_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
if (ret < 0) if (ret < 0)
return ret; return ret;
emms_c();
ff_mjpeg_escape_FF(&pb, header_bits >> 3); ff_mjpeg_escape_FF(&pb, header_bits >> 3);
ff_mjpeg_encode_picture_trailer(&pb, header_bits); ff_mjpeg_encode_picture_trailer(&pb, header_bits);