From c8549d480f752308540f7060e2c050d6824e6793 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 28 Mar 2024 19:19:52 +0100 Subject: [PATCH] avcodec/msmpeg4: Don't include x86-specific header unconditionally Signed-off-by: Andreas Rheinhardt --- libavcodec/msmpeg4.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index a2c4c57728..e327bf36a7 100644 --- a/libavcodec/msmpeg4.c +++ b/libavcodec/msmpeg4.c @@ -27,13 +27,17 @@ * MSMPEG4 backend for encoder and decoder */ +#include "config.h" + #include "libavutil/thread.h" +#if ARCH_X86 +#include "libavutil/x86/asm.h" +#endif #include "avcodec.h" #include "idctdsp.h" #include "mpegvideo.h" #include "msmpeg4.h" -#include "libavutil/x86/asm.h" #include "mpeg4videodata.h" #include "msmpeg4data.h" #include "msmpeg4_vc1_data.h"