Commit b5ce0e16 authored by michael's avatar michael

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

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2354 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0cbf6eb6
......@@ -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;
......
......@@ -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) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment