diff mbox series

[FFmpeg-devel,5/7] avcodec/dirac_arith: Only include x86/asm.h for ARCH_X86

Message ID AS8P250MB0744EFC98F8BC94B2BFAB39E8F2A2@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 6ffdf2f3709d472116bbccc8d7c6e01fd4a3cd42
Headers show
Series [FFmpeg-devel,1/7] avformat/iamf: Mark symbols as hidden | 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 13, 2024, 11:09 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/dirac_arith.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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"