From: Felipe Contreras <[email protected]>

At least in ARM, I get the followin error otherwise:

  libavcodec.so.53: undefined symbol: ff_imdct_half_neon

Building with:

./configure --cpu=cortex-a8 --extra-cflags='-mfpu=neon' \
 --disable-everything \
 --disable-network \
 --enable-decoder='mp3' \
 --disable-static \
 --enable-shared \
 --disable-avdevice \
 --disable-avformat \
 --disable-avfilter \
 --disable-swscale

Signed-off-by: Felipe Contreras <[email protected]>
---
 libavcodec/arm/fft_init_arm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/arm/fft_init_arm.c b/libavcodec/arm/fft_init_arm.c
index 4ee4909..b2c3b72 100644
--- a/libavcodec/arm/fft_init_arm.c
+++ b/libavcodec/arm/fft_init_arm.c
@@ -42,10 +42,12 @@ av_cold void ff_fft_init_arm(FFTContext *s)
     if (HAVE_NEON) {
         s->fft_permute  = ff_fft_permute_neon;
         s->fft_calc     = ff_fft_calc_neon;
+#if CONFIG_MDCT
         s->imdct_calc   = ff_imdct_calc_neon;
         s->imdct_half   = ff_imdct_half_neon;
         s->mdct_calc    = ff_mdct_calc_neon;
         s->mdct_permutation = FF_MDCT_PERM_INTERLEAVE;
+#endif
     }
 }
 
-- 
1.7.8

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to