aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/dcadsp_init.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-04 23:57:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-05 00:11:48 +0200
commit490d53e335dc5954d1308172af374e9bf9d031eb (patch)
tree4982b5949899fb1f97b0fe99f96570d7a4a69435 /libavcodec/x86/dcadsp_init.c
parent51fd962c0bbfab9a4e4d91364a33576e942dcf54 (diff)
downloadffmpeg-490d53e335dc5954d1308172af374e9bf9d031eb.tar.gz
avcodec/x86/dcadsp_init: fix compilation failure without FMA3
alternatively the call could be put under #if or the #if over the function removed Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/dcadsp_init.c')
-rw-r--r--libavcodec/x86/dcadsp_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/dcadsp_init.c b/libavcodec/x86/dcadsp_init.c
index bc94b44376..5975feefa6 100644
--- a/libavcodec/x86/dcadsp_init.c
+++ b/libavcodec/x86/dcadsp_init.c
@@ -82,6 +82,10 @@ SYNTH_FILTER_FUNC(sse)
#endif
SYNTH_FILTER_FUNC(sse2)
SYNTH_FILTER_FUNC(avx)
+static void synth_filter_fma3(FFTContext *imdct,
+ float *synth_buf_ptr, int *synth_buf_offset,
+ float synth_buf2[32], const float window[512],
+ float out[32], const float in[32], float scale);
#if HAVE_FMA3_EXTERNAL
SYNTH_FILTER_FUNC(fma3)
#endif