diff mbox series

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

Message ID DB6PR0101MB2214A3F1C9A4806E1F00CEE28F719@DB6PR0101MB2214.eurprd01.prod.exchangelabs.com
State Accepted
Commit 5bf71873276a4e264188a07e3c1624d94d7741d7
Headers show
Series [FFmpeg-devel] swscale/x86/rgb2_rgb: Empty MMX state in ff_shuffle_bytes_2103_mmxext | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Aug. 22, 2022, 3:10 p.m. UTC
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@outlook.com>
---
 libavcodec/4xm.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

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;
 }