[FFmpeg-cvslog] avcodec/dirac_arith: Only include x86/asm.h for ARCH_X86
Andreas Rheinhardt
git at videolan.org
Sun Mar 17 17:07:16 EET 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Mar 13 18:18:32 2024 +0100| [6ffdf2f3709d472116bbccc8d7c6e01fd4a3cd42] | committer: Andreas Rheinhardt
avcodec/dirac_arith: Only include x86/asm.h for ARCH_X86
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6ffdf2f3709d472116bbccc8d7c6e01fd4a3cd42
---
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"
More information about the ffmpeg-cvslog
mailing list