]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/fdctdsp.c
x264: Add option to force IDR frames
[ffmpeg] / libavcodec / fdctdsp.c
index 696fa01e94637153e2b67a54e1fcaeb42fa23a17..f299eae27228e4932a1f8a07c247134130518902 100644 (file)
@@ -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;