Diego Biurrun <[email protected]> writes:

> diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
> index f5b7d07..5088c6a 100644
> --- a/libavcodec/dsputil.c
> +++ b/libavcodec/dsputil.c
> @@ -2789,10 +2789,12 @@ av_cold void ff_dsputil_init(DSPContext* c, 
> AVCodecContext *avctx)
>              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

$ configure --disable-faandct
$ avconv -i foo -dct faan bar.mpg
Segmentation fault

The DCT selection logic needs more work before we can start disabling
them individually.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to