aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-22 00:09:05 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-24 03:42:38 +0200
commit73f024aa581ddbc49e6db9d39d944ce64b9d8a1c (patch)
tree7a5e1f2e51ba5371d9a939bc24b5db3d7df3f56e /libavcodec
parentda0e7c3b676867caf02a503cd74d9fe372e3c95d (diff)
downloadffmpeg-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.c2
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;