summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-13 18:18:32 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-17 15:10:05 +0100
commit6ffdf2f3709d472116bbccc8d7c6e01fd4a3cd42 (patch)
treea4f42d12e136450eaaf374e7e333b233e3baedec /libavcodec
parentb6301dc6586f9789b867bc2d75e74e10f6c35d0c (diff)
avcodec/dirac_arith: Only include x86/asm.h for ARCH_X86
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dirac_arith.h4
1 files changed, 4 insertions, 0 deletions
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"