[FFmpeg-devel] [PATCH 07/10] avcodec/4xm: Remove unnecessary and redundat emms_c()

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Aug 22 18:10:12 EEST 2022


It is unnecessary since ee551a21ddcbf81afe183d9489c534ee80f263a0;
but it was redundant even before that, because decode_simple_internal()
calls emms_c().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/4xm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 8941d715fa..67cd7d8af9 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -964,8 +964,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *picture,
 
     *got_frame = 1;
 
-    emms_c();
-
     return buf_size;
 }
 
-- 
2.34.1



More information about the ffmpeg-devel mailing list