keep in sync with dsputil, makes --disable-decoder=vorbis build
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 11 Aug 2006 02:56:32 +0000 (02:56 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 11 Aug 2006 02:56:32 +0000 (02:56 +0000)
Originally committed as revision 5979 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ppc/dsputil_altivec.c

index d3976f0e8691f00a1b89f9b19717f3fab81d1d94..684da1d6d9d1b5c8cc1412396bf2e10b745b8eff 100644 (file)
@@ -1854,5 +1854,7 @@ void dsputil_init_altivec(DSPContext* c, AVCodecContext *avctx)
 
     c->hadamard8_diff[0] = hadamard8_diff16_altivec;
     c->hadamard8_diff[1] = hadamard8_diff8x8_altivec;
+#ifdef CONFIG_VORBIS_DECODER
     c->vorbis_inverse_coupling = vorbis_inverse_coupling_altivec;
+#endif
 }