[FFmpeg-devel] [PATCH 5/7] avcodec/dirac_arith: Only include x86/asm.h for ARCH_X86
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Thu Mar 14 01:09:33 EET 2024
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavcodec/dirac_arith.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavcodec/dirac_arith.h b/libavcodec/dirac_arith.h
index 350a58fca6..203d481603 100644
--- a/libavcodec/dirac_arith.h
+++ b/libavcodec/dirac_arith.h
@@ -28,7 +28,11 @@
#ifndef AVCODEC_DIRAC_ARITH_H
#define AVCODEC_DIRAC_ARITH_H
+#include "config.h"
+
+#if ARCH_X86
#include "libavutil/x86/asm.h"
+#endif
#include "bytestream.h"
#include "get_bits.h"
--
2.40.1
More information about the ffmpeg-devel
mailing list