summaryrefslogtreecommitdiff
path: root/libavcodec/fft.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/fft.c')
-rw-r--r--libavcodec/fft.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/fft.c b/libavcodec/fft.c
index c8acfc6017..b659de16a1 100644
--- a/libavcodec/fft.c
+++ b/libavcodec/fft.c
@@ -106,6 +106,8 @@ int ff_fft_init(FFTContext *s, int nbits, int inverse)
s->fft_calc = ff_fft_calc_3dn2;
} else if (has_vectors & MM_3DNOW) {
/* 3DNow! for K6-2/3 */
+ s->imdct_calc = ff_imdct_calc_3dn;
+ s->imdct_half = ff_imdct_half_3dn;
s->fft_calc = ff_fft_calc_3dn;
}
#elif defined HAVE_ALTIVEC && !defined ALTIVEC_USE_REFERENCE_C_CODE