# HG changeset patch # User michael # Date 1065860723 0 # Node ID 587258262aa570e0bc00839c11bec7fe0cb777ad # Parent ca1da7d99d52850b6de878c30c15f08231099536 recommit (of patch, as cvslog msg didnt apply cleanly) libavcodec/ppc compile errors patch by ("Steven M. Schultz" ) diff -r ca1da7d99d52 -r 587258262aa5 ppc/dsputil_ppc.c --- 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; diff -r ca1da7d99d52 -r 587258262aa5 ppc/mpegvideo_ppc.c --- 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) ||