diff mbox series

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

Message ID AS8P250MB07447A546AD82A3AD4947F5D8F3B2@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit c8549d480f752308540f7060e2c050d6824e6793
Headers show
Series [FFmpeg-devel,01/18] avcodec/mips/ac3dsp_mips: Add missing includes | 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 March 28, 2024, 11:10 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/msmpeg4.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff mbox series

Patch

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"