aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-28 19:19:52 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-31 00:08:42 +0100
commitc8549d480f752308540f7060e2c050d6824e6793 (patch)
tree182ab7638c12238566da01a0f1a315636073eace
parenta265e8ca92662f1a2248b72dcf20375c88ffc400 (diff)
downloadffmpeg-c8549d480f752308540f7060e2c050d6824e6793.tar.gz
avcodec/msmpeg4: Don't include x86-specific header unconditionally
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/msmpeg4.c6
1 files changed, 5 insertions, 1 deletions
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"