summaryrefslogtreecommitdiff
path: root/libavcodec/dct.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dct.c')
-rw-r--r--libavcodec/dct.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dct.c b/libavcodec/dct.c
index 682fe99f80..dab94c30a0 100644
--- a/libavcodec/dct.c
+++ b/libavcodec/dct.c
@@ -30,6 +30,7 @@
#include <math.h>
#include "libavutil/mathematics.h"
#include "fft.h"
+#include "x86/fft.h"
#define DCT32_FLOAT
#include "dct32.c"
@@ -213,6 +214,7 @@ av_cold int ff_dct_init(DCTContext *s, int nbits, enum DCTTransformType inverse)
s->dct_calc = dct32_func;
s->dct32 = dct32;
+ if (HAVE_MMX) ff_dct_init_mmx(s);
return 0;
}