On Fri, Feb 17, 2012 at 06:42:16PM +0100, Diego Biurrun wrote:
> This fixes standalone compilation of ProRes encoder.
> ---
>  libavcodec/proresdsp.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/libavcodec/proresdsp.c b/libavcodec/proresdsp.c
> index e19eed2..baf7935 100644
> --- a/libavcodec/proresdsp.c
> +++ b/libavcodec/proresdsp.c
> @@ -71,7 +71,8 @@ void ff_proresdsp_init(ProresDSPContext *dsp)
>      dsp->fdct     = prores_fdct_c;
>      dsp->dct_permutation_type  = FF_NO_IDCT_PERM;
>  
> -    if (HAVE_MMX) ff_proresdsp_x86_init(dsp);
> +    if (HAVE_MMX && CONFIG_PRORES_DECODER)
> +        ff_proresdsp_x86_init(dsp);
>  
>      ff_init_scantable_permutation(dsp->idct_permutation,
>                                    dsp->idct_permutation_type);
> -- 

1) too late, my patch fixed it for both cases
2) one function here references jpeg_fdct which is enabled only for encoders,
so standalone decoder would still fail
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to