>From 391c204e5696ae729b69b3f55cf291f876d45b93 Mon Sep 17 00:00:00 2001 From: strites 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