Browse Source

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>
tags/n2.0
Nedeljko Babic Michael Niedermayer 12 years ago
parent
commit
271f95940b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/mips/fft_mips.c

+ 1
- 0
libavcodec/mips/fft_mips.c View File

@@ -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;


Loading…
Cancel
Save