Mercurial > libavcodec.hg
diff ppc/h264_altivec.c @ 5585:f644e7c90380 libavcodec
Remove HAVE_ALTIVEC preprocessor directives that are only compiled
when AltiVec is enabled anyway.
author | diego |
---|---|
date | Fri, 24 Aug 2007 23:01:50 +0000 |
parents | cd266411b11a |
children | f065fc609145 |
line wrap: on
line diff
--- a/ppc/h264_altivec.c Fri Aug 24 15:42:50 2007 +0000 +++ b/ppc/h264_altivec.c Fri Aug 24 23:01:50 2007 +0000 @@ -868,7 +868,6 @@ void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx) { -#ifdef HAVE_ALTIVEC if (has_altivec()) { c->put_h264_chroma_pixels_tab[0] = put_h264_chroma_mc8_altivec; c->put_no_rnd_h264_chroma_pixels_tab[0] = put_no_rnd_h264_chroma_mc8_altivec; @@ -899,12 +898,5 @@ dspfunc(put_h264_qpel, 0, 16); dspfunc(avg_h264_qpel, 0, 16); #undef dspfunc - - } else -#endif /* HAVE_ALTIVEC */ - { - // Non-AltiVec PPC optimisations - - // ... pending ... } }