On Wed, Jun 11, 2008 at 02:34:03AM +0200, Keiji Costantini wrote:
>
> -- 
> Keiji Costantini

> >From 391c204e5696ae729b69b3f55cf291f876d45b93 Mon Sep 17 00:00:00 2001
> From: strites <[EMAIL PROTECTED]>
> Date: Wed, 11 Jun 2008 00:26:04 +0200
> Subject: [PATCH] sws_getContext: COMPILE_ALTIVEC changed to HAVE_ALTIVEC
> 
> ---
>  swscale.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/swscale.c b/swscale.c
> index 2835812..5afd1c5 100644
> --- a/swscale.c
> +++ b/swscale.c
> @@ -2112,7 +2112,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int 
> srcFormat, int dstW, int dstH
>              }
>          }
>  
> -#ifdef COMPILE_ALTIVEC
> +#ifdef HAVE_ALTIVEC
>          if ((c->flags & SWS_CPU_CAPS_ALTIVEC) &&
>              ((srcFormat == PIX_FMT_YUV420P &&
>               (dstFormat == PIX_FMT_YUYV422 || dstFormat == 
> PIX_FMT_UYVY422)))) {
> -- 
> 1.5.3.7

This is wrong, it only works because the COMPILE_C inclusion of
swscale_template.c comes before the altivec one.


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato

Attachment: signature.asc
Description: Digital signature

_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to