summaryrefslogtreecommitdiff
path: root/libavcodec/fdctdsp.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-08-28 19:32:45 -0700
committerDiego Biurrun <diego@biurrun.de>2014-09-07 13:36:26 -0700
commit1274ea8dbaec44355bde07f6bb31fec0c4e6fd2d (patch)
treec517d38cce7cf1e78e232c114ebe63f0429cd873 /libavcodec/fdctdsp.c
parentfcf597625c7a991ca389f3a9b8ff4f5e383301c0 (diff)
Split off floating point AAN (I)DCT into separate components
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;