On 01/02/16 01:43, Vittorio Giovara wrote:
> --- a/libswscale/ppc/swscale_altivec.c
> +++ b/libswscale/ppc/swscale_altivec.c
> @@ -295,7 +295,7 @@ av_cold void ff_sws_init_swscale_ppc(SwsContext *c)
>      if (!(av_get_cpu_flags() & AV_CPU_FLAG_ALTIVEC))
>          return;
>  
> -    if (c->srcBpc == 8 && c->dstBpc <= 10) {
> +    if (c->srcBpc == 8 && c->dstBpc <= 12) {

Possibly right, but isn't it for 12bit output?

>          c->hyScale = c->hcScale = hScale_altivec_real;
>      }

The rest seems fine.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to