mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
573 B

  1. When altivec is disabled there is no swScale_altivec ...
  2. Additionally cleaned up the else case a bit.
  3. - Rene Rebe <rene@rocklinux.org>
  4. RUN_CPUDETECT='0' failed, cut down to the bare minimum.
  5. - Dimitar Zhekov <jimmy@is-vn.bg>
  6. --- ./postproc/swscale.c.orig 2004-04-26 22:38:17.000000000 +0300
  7. +++ ./postproc/swscale.c 2004-05-08 12:53:21.000000000 +0300
  8. @@ -1344,10 +1344,11 @@
  9. #else
  10. #ifdef ARCH_POWERPC
  11. +#ifdef HAVE_ALTIVEC
  12. if(flags & SWS_CPU_CAPS_ALTIVEC)
  13. return swScale_altivec;
  14. else
  15. - return swScale_C;
  16. +#endif
  17. #endif
  18. return swScale_C;
  19. #endif