comparison fft.c @ 11122:e45c852b6820 libavcodec

Fix build with --disable-mdct
author mru
date Thu, 11 Feb 2010 23:40:45 +0000
parents 74b0c1a0851e
children 4b3da727d832
comparison
equal deleted inserted replaced
11121:1d4aeef800d4 11122:e45c852b6820
97 97
98 s2 = inverse ? 1.0 : -1.0; 98 s2 = inverse ? 1.0 : -1.0;
99 99
100 s->fft_permute = ff_fft_permute_c; 100 s->fft_permute = ff_fft_permute_c;
101 s->fft_calc = ff_fft_calc_c; 101 s->fft_calc = ff_fft_calc_c;
102 #if CONFIG_MDCT
102 s->imdct_calc = ff_imdct_calc_c; 103 s->imdct_calc = ff_imdct_calc_c;
103 s->imdct_half = ff_imdct_half_c; 104 s->imdct_half = ff_imdct_half_c;
104 s->mdct_calc = ff_mdct_calc_c; 105 s->mdct_calc = ff_mdct_calc_c;
106 #endif
105 s->exptab1 = NULL; 107 s->exptab1 = NULL;
106 s->split_radix = 1; 108 s->split_radix = 1;
107 109
108 if (ARCH_ARM) ff_fft_init_arm(s); 110 if (ARCH_ARM) ff_fft_init_arm(s);
109 if (HAVE_ALTIVEC) ff_fft_init_altivec(s); 111 if (HAVE_ALTIVEC) ff_fft_init_altivec(s);