On Fri, Apr 03, 2015 at 03:31:32PM +0200, Luca Barbato wrote:
> --- a/libavutil/ppc/cpu.c
> +++ b/libavutil/ppc/cpu.c
> @@ -62,6 +66,32 @@ int ff_get_cpu_flags_ppc(void)
>      if (err == 0)
>          return has_vu ? AV_CPU_FLAG_ALTIVEC : 0;
>      return 0;
> +#elif defined(__linux__)
> +    // The linux kernel could have the altivec support disabled
> +    // even if the cpu has it.

The Linux kernel could have the AltiVec support disabled
even if the CPU has AltiVec.

This looks like it should work, but testing is better.

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

Reply via email to