diff options
author | Nedeljko Babic <nbabic@mips.com> | 2013-03-20 14:43:40 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-20 16:48:05 +0400 |
commit | 271f95940b0f4329d439a2d49abd16e60a003562 (patch) | |
tree | 270656613c81f7910a31ab637235fc5894610517 /libavcodec/mips | |
parent | b274703493fb4ceb65badecde7f64dd88946afb9 (diff) |
libavcodec/mips: fix for mips optimized fp fft with hard coded tables disabled
Floating point FFT (nips optimized) breaks when hard coded tables are
not enabled because MIPS optimization of floating point FFT uses only
ff_init_ff_cos_tabs(16) which is not enabled by default in that case.
This patch is fixing it.
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mips')
-rw-r--r-- | libavcodec/mips/fft_mips.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mips/fft_mips.c b/libavcodec/mips/fft_mips.c index 02f4cb663d..ae4ed30347 100644 --- a/libavcodec/mips/fft_mips.c +++ b/libavcodec/mips/fft_mips.c @@ -522,6 +522,7 @@ av_cold void ff_fft_init_mips(FFTContext *s) int n=0; ff_fft_lut_init(fft_offsets_lut, 0, 1 << 16, &n); + ff_init_ff_cos_tabs(16); #if HAVE_INLINE_ASM s->fft_calc = ff_fft_calc_mips; |