Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-05 19:49:00 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-09 20:28:11 +0300
commitaf94ae7dc78b5379d62cd315d25a18f0d2c3fa18 (patch)
tree27a102151aa104f9cb52f44b8d224de68a70cd9a /libavcodec/ljpegenc.c
parent5bd55b488fe5e4bbeb87dbe1d47eb6cdafa7bcd2 (diff)
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>
Diffstat (limited to 'libavcodec/ljpegenc.c')
-rw-r--r--libavcodec/ljpegenc.c2
1 files changed, 0 insertions, 2 deletions
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);