[FFmpeg-devel] [PATCH]Fix arm compilation with --disable-neon

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Mar 10 12:03:35 CET 2015


Hi!

Attached patch fixes compilation for arm with --disable-neon, 
reported by Sebastian Holmqvist.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/hevcdsp.c b/libavcodec/hevcdsp.c
index 04af178..b7a4729 100644
--- a/libavcodec/hevcdsp.c
+++ b/libavcodec/hevcdsp.c
@@ -259,6 +259,6 @@ int i = 0;
 
     if (ARCH_X86)
         ff_hevc_dsp_init_x86(hevcdsp, bit_depth);
-    if (ARCH_ARM)
+    if (HAVE_NEON)
         ff_hevcdsp_init_arm(hevcdsp, bit_depth);
 }


More information about the ffmpeg-devel mailing list