Browse Source

recommit (of patch, as cvslog msg didnt apply cleanly)

libavcodec/ppc compile errors patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)

Originally committed as revision 2354 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Steven M. Schultz Michael Niedermayer 22 years ago
parent
commit
3bbd2123d6
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      libavcodec/ppc/dsputil_ppc.c
  2. +1
    -1
      libavcodec/ppc/mpegvideo_ppc.c

+ 2
- 2
libavcodec/ppc/dsputil_ppc.c View File

@@ -33,7 +33,7 @@ int mm_flags = 0;
int mm_support(void)
{
int result = 0;
#if HAVE_ALTIVEC
#ifdef HAVE_ALTIVEC
if (has_altivec()) {
result |= MM_ALTIVEC;
}
@@ -233,7 +233,7 @@ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx)
break;
}
#if HAVE_ALTIVEC
#ifdef HAVE_ALTIVEC
if (has_altivec()) {
mm_flags |= MM_ALTIVEC;


+ 1
- 1
libavcodec/ppc/mpegvideo_ppc.c View File

@@ -36,7 +36,7 @@ extern void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block);

void MPV_common_init_ppc(MpegEncContext *s)
{
#if HAVE_ALTIVEC
#ifdef HAVE_ALTIVEC
if (has_altivec())
{
if ((s->avctx->idct_algo == FF_IDCT_AUTO) ||


Loading…
Cancel
Save