On Thu, Jul 31, 2014 at 11:29:05PM +0200, Luca Barbato wrote:
> On 31/07/14 19:49, Diego Biurrun wrote:
> > --- a/libavcodec/ppc/idctdsp.c
> > +++ b/libavcodec/ppc/idctdsp.c
> > @@ -231,14 +231,15 @@ av_cold void ff_idctdsp_init_ppc(IDCTDSPContext *c,
> > AVCodecContext *avctx,
> > #if HAVE_ALTIVEC
> > - if (PPC_ALTIVEC(av_get_cpu_flags())) {
> > - if (!high_bit_depth) {
> > - if ((avctx->idct_algo == FF_IDCT_AUTO) ||
> > - (avctx->idct_algo == FF_IDCT_ALTIVEC)) {
> > - c->idct_add = idct_add_altivec;
> > - c->idct_put = idct_put_altivec;
> > - c->perm_type = FF_IDCT_PERM_TRANSPOSE;
> > - }
> > + if (PPC_ALTIVEC(av_get_cpu_flags()))
>
> ! missing
Oh, the embarassment :) - good catch!
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel