diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-22 00:09:05 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-24 03:42:38 +0200 |
commit | 73f024aa581ddbc49e6db9d39d944ce64b9d8a1c (patch) | |
tree | 7a5e1f2e51ba5371d9a939bc24b5db3d7df3f56e /libavcodec | |
parent | da0e7c3b676867caf02a503cd74d9fe372e3c95d (diff) | |
download | ffmpeg-73f024aa581ddbc49e6db9d39d944ce64b9d8a1c.tar.gz |
avcodec/jpeglsenc: Remove unnecessary emms_c()
This encoder does not use any MMX anywhere.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/jpeglsenc.c | 2 |
1 files changed, 0 insertions, 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; |