aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/exrdsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/exrdsp.c')
-rw-r--r--libavcodec/exrdsp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/exrdsp.c b/libavcodec/exrdsp.c
index 42dbf1f54a..8259da4841 100644
--- a/libavcodec/exrdsp.c
+++ b/libavcodec/exrdsp.c
@@ -51,6 +51,7 @@ av_cold void ff_exrdsp_init(ExrDSPContext *c)
c->reorder_pixels = reorder_pixels_scalar;
c->predictor = predictor_scalar;
- if (ARCH_X86)
- ff_exrdsp_init_x86(c);
+#if ARCH_X86
+ ff_exrdsp_init_x86(c);
+#endif
}