Hi, On Tue, Jun 28, 2011 at 3:19 PM, Mans Rullgard <[email protected]> wrote: > Signed-off-by: Mans Rullgard <[email protected]> > --- > libswscale/ppc/swscale_altivec.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/libswscale/ppc/swscale_altivec.c > b/libswscale/ppc/swscale_altivec.c > index 14f35b6..396b00c 100644 > --- a/libswscale/ppc/swscale_altivec.c > +++ b/libswscale/ppc/swscale_altivec.c > @@ -407,7 +407,9 @@ void ff_sws_init_swScale_altivec(SwsContext *c) > return; > > c->hScale = hScale_altivec_real; > - if (!is16BPS(dstFormat) && !is9_OR_10BPS(dstFormat)) { > + if (!is16BPS(dstFormat) && !is9_OR_10BPS(dstFormat) && > + dstFormat != PIX_FMT_NV12 && dstFormat != PIX_FMT_NV21 && > + !c->alpPixBuf) { > c->yuv2yuvX = yuv2yuvX_altivec_real; > }
OK. Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
