Commit 33efb5aedc for ffmpeg
commit 33efb5aedc7355613cc865c0bd476db9cf5100ef
Author: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Date: Thu Nov 5 13:06:15 2026 +0100
avcodec/mpegutils: Remove obsolete emms_c
After 5dc2dd9b9f291a373015500b11136bef39cbc6c0 of all the
mpegvideo-based decoders only the VC-1 one uses any mmx regs
at all; yet the VC-1 decoders don't call ff_draw_horiz_band()
at all, so one can just remove the emms_c here.
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
diff --git a/libavcodec/mpegutils.c b/libavcodec/mpegutils.c
index 73b6650b70..f827b00c56 100644
--- a/libavcodec/mpegutils.c
+++ b/libavcodec/mpegutils.c
@@ -22,7 +22,6 @@
#include "libavutil/bprint.h"
#include "libavutil/common.h"
-#include "libavutil/emms.h"
#include "libavutil/frame.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
@@ -91,8 +90,6 @@ void ff_draw_horiz_band(AVCodecContext *avctx,
for (int i = 3; i < AV_NUM_DATA_POINTERS; i++)
offset[i] = 0;
- emms_c();
-
avctx->draw_horiz_band(avctx, src, offset,
y, picture_structure, h);
}