summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2010-07-01 21:04:12 +0000
committerVitor Sessak <vitor1001@gmail.com>2010-07-01 21:04:12 +0000
commit060dd9300041eff91e7fb5622c12f9dd4975502d (patch)
tree4de6f858261075ed807f8f5c31dd13fd11aa4c9f /libavcodec/mpegaudiodec.c
parentde1807bbc4ea29e9492484e1104d4da33cd6ba28 (diff)
Altivec-optimized mp{1,2,3} windowing
Originally committed as revision 23943 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 0ae21e03fb..856eebd135 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -325,6 +325,8 @@ static av_cold int decode_init(AVCodecContext * avctx)
#if HAVE_MMX
ff_mpegaudiodec_init_mmx(s);
#endif
+ if (HAVE_ALTIVEC && CONFIG_FLOAT) ff_mpegaudiodec_init_altivec(s);
+
avctx->sample_fmt= OUT_FMT;
s->error_recognition= avctx->error_recognition;