summaryrefslogtreecommitdiff
path: root/libavcodec/fdctdsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/fdctdsp.c')
-rw-r--r--libavcodec/fdctdsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/fdctdsp.c b/libavcodec/fdctdsp.c
index 696fa01e94..f299eae272 100644
--- a/libavcodec/fdctdsp.c
+++ b/libavcodec/fdctdsp.c
@@ -33,9 +33,11 @@ av_cold void ff_fdctdsp_init(FDCTDSPContext *c, AVCodecContext *avctx)
} else if (avctx->dct_algo == FF_DCT_FASTINT) {
c->fdct = ff_fdct_ifast;
c->fdct248 = ff_fdct_ifast248;
+#if CONFIG_FAANDCT
} else if (avctx->dct_algo == FF_DCT_FAAN) {
c->fdct = ff_faandct;
c->fdct248 = ff_faandct248;
+#endif /* CONFIG_FAANDCT */
} else {
c->fdct = ff_jpeg_fdct_islow_8; // slow/accurate/default
c->fdct248 = ff_fdct248_islow_8;