Commit b78ec3efd2 for ffmpeg
commit b78ec3efd2d97d068450a963ce3f704af59783b1
Author: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Date: Tue Nov 17 23:35:44 2026 +0100
avcodec/mpegvideo_dec: Remove obsolete emms_c
No mpegvideo-based decoder uses any MMX code at all since
the VC-1 decoder's motion compensation code no longer uses it.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c
index 6018e532df..a612fbb88d 100644
--- a/libavcodec/mpegvideo_dec.c
+++ b/libavcodec/mpegvideo_dec.c
@@ -25,7 +25,6 @@
#include "config_components.h"
#include "libavutil/avassert.h"
-#include "libavutil/emms.h"
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/video_enc_params.h"
@@ -403,8 +402,6 @@ int ff_mpv_frame_start(MpegEncContext *s, AVCodecContext *avctx)
/* called after a frame has been decoded. */
void ff_mpv_frame_end(MpegEncContext *s)
{
- emms_c();
-
if (s->cur_pic.reference)
ff_thread_progress_report(&s->cur_pic.ptr->progress, INT_MAX);
}