Imported Debian version 2.5.1~trusty
[deb_ffmpeg.git] / ffmpeg / libavcodec / mpegaudiodec_template.c
index bbd07c5f0bd79de3b4ba602976f80dc894e0c97d..138a107b854a16cf9d0f68a319ceb18e62cc187d 100644 (file)
@@ -428,9 +428,11 @@ static av_cold int decode_init(AVCodecContext * avctx)
 
     s->avctx = avctx;
 
+#if USE_FLOATS
     s->fdsp = avpriv_float_dsp_alloc(avctx->flags & CODEC_FLAG_BITEXACT);
     if (!s->fdsp)
         return AVERROR(ENOMEM);
+#endif
 
     ff_mpadsp_init(&s->mpadsp);