[FFmpeg-devel] [PATCH 08/18] avcodec/msmpeg4: Don't include x86-specific header unconditionally

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Mar 29 01:10:37 EET 2024


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 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"
-- 
2.40.1



More information about the ffmpeg-devel mailing list