diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-08-24 23:01:50 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-08-24 23:01:50 +0000 |
commit | 2722c98128657966d4a6f4130686d6cb9bc9b9aa (patch) | |
tree | f25b4e65cc4b43009aab94b1fdf7017829b0cc36 /libavcodec/ppc/h264_altivec.c | |
parent | 777bbfddde32d353bc080285e76fe237cf0096b4 (diff) | |
download | ffmpeg-2722c98128657966d4a6f4130686d6cb9bc9b9aa.tar.gz |
Remove HAVE_ALTIVEC preprocessor directives that are only compiled
when AltiVec is enabled anyway.
Originally committed as revision 10216 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/h264_altivec.c')
-rw-r--r-- | libavcodec/ppc/h264_altivec.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/ppc/h264_altivec.c b/libavcodec/ppc/h264_altivec.c index cb13aadc4e..ef86a528d8 100644 --- a/libavcodec/ppc/h264_altivec.c +++ b/libavcodec/ppc/h264_altivec.c @@ -868,7 +868,6 @@ static void h264_h_loop_filter_luma_altivec(uint8_t *pix, int stride, int alpha, 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 @@ void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx) { dspfunc(put_h264_qpel, 0, 16); dspfunc(avg_h264_qpel, 0, 16); #undef dspfunc - - } else -#endif /* HAVE_ALTIVEC */ - { - // Non-AltiVec PPC optimisations - - // ... pending ... } } |