# HG changeset patch # User diego # Date 1190880022 0 # Node ID 965e0c3565bf688502e5a7779bed68d5d512a7ad # Parent a8ccd8352d85a89ab684277a94fe01b81d7fafe2 Revert wrong ARCH_BFIN --> HAVE_BFIN change. diff -r a8ccd8352d85 -r 965e0c3565bf libswscale/swscale.c --- a/libswscale/swscale.c Thu Sep 27 05:33:26 2007 +0000 +++ b/libswscale/swscale.c Thu Sep 27 08:00:22 2007 +0000 @@ -2045,7 +2045,7 @@ flags |= SWS_CPU_CAPS_MMX; #elif defined (HAVE_ALTIVEC) flags |= SWS_CPU_CAPS_ALTIVEC; -#elif defined (HAVE_BFIN) +#elif defined (ARCH_BFIN) flags |= SWS_CPU_CAPS_BFIN; #endif #endif /* RUNTIME_CPUDETECT */ diff -r a8ccd8352d85 -r 965e0c3565bf libswscale/swscale_internal.h --- a/libswscale/swscale_internal.h Thu Sep 27 05:33:26 2007 +0000 +++ b/libswscale/swscale_internal.h Thu Sep 27 08:00:22 2007 +0000 @@ -157,7 +157,7 @@ #endif -#ifdef HAVE_BFIN +#ifdef ARCH_BFIN uint32_t oy __attribute__((aligned(4))); uint32_t oc __attribute__((aligned(4))); uint32_t zero __attribute__((aligned(4))); diff -r a8ccd8352d85 -r 965e0c3565bf libswscale/yuv2rgb.c --- a/libswscale/yuv2rgb.c Thu Sep 27 05:33:26 2007 +0000 +++ b/libswscale/yuv2rgb.c Thu Sep 27 08:00:22 2007 +0000 @@ -654,7 +654,7 @@ } #endif -#ifdef HAVE_BFIN +#ifdef ARCH_BFIN if (c->flags & SWS_CPU_CAPS_BFIN) { SwsFunc t = ff_bfin_yuv2rgb_get_func_ptr (c);