[FFmpeg-cvslog] avcodec/msmpeg4: Don't include x86-specific header unconditionally

Andreas Rheinhardt git at videolan.org
Sun Mar 31 02:05:27 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Mar 28 19:19:52 2024 +0100| [c8549d480f752308540f7060e2c050d6824e6793] | committer: Andreas Rheinhardt

avcodec/msmpeg4: Don't include x86-specific header unconditionally

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c8549d480f752308540f7060e2c050d6824e6793
---

 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"



More information about the ffmpeg-cvslog mailing list