changeset 1511:587258262aa5 libavcodec

recommit (of patch, as cvslog msg didnt apply cleanly) libavcodec/ppc compile errors patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
author michael
date Sat, 11 Oct 2003 08:25:23 +0000
parents ca1da7d99d52
children e9f83c2323bf
files ppc/dsputil_ppc.c ppc/mpegvideo_ppc.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/dsputil_ppc.c	Sat Oct 11 08:21:23 2003 +0000
+++ b/ppc/dsputil_ppc.c	Sat Oct 11 08:25:23 2003 +0000
@@ -33,7 +33,7 @@
 int mm_support(void)
 {
     int result = 0;
-#if HAVE_ALTIVEC
+#ifdef HAVE_ALTIVEC
     if (has_altivec()) {
         result |= MM_ALTIVEC;
     }
@@ -233,7 +233,7 @@
     break;
   }
   
-#if HAVE_ALTIVEC
+#ifdef HAVE_ALTIVEC
     if (has_altivec()) {
         mm_flags |= MM_ALTIVEC;
         
--- a/ppc/mpegvideo_ppc.c	Sat Oct 11 08:21:23 2003 +0000
+++ b/ppc/mpegvideo_ppc.c	Sat Oct 11 08:25:23 2003 +0000
@@ -36,7 +36,7 @@
 
 void MPV_common_init_ppc(MpegEncContext *s)
 {
-#if HAVE_ALTIVEC
+#ifdef HAVE_ALTIVEC
     if (has_altivec())
     {
         if ((s->avctx->idct_algo == FF_IDCT_AUTO) ||