X-Git-Url: https://git.piment-noir.org/?p=deb_ffmpeg.git;a=blobdiff_plain;f=ffmpeg%2Flibavcodec%2Fmpegaudiodec_template.c;h=138a107b854a16cf9d0f68a319ceb18e62cc187d;hp=bbd07c5f0bd79de3b4ba602976f80dc894e0c97d;hb=dcebb6f35d810c9009a455808b016c790bb633b4;hpb=f6fa7814ccfe3e76514b36cf04f5cd3cb657c8cf diff --git a/ffmpeg/libavcodec/mpegaudiodec_template.c b/ffmpeg/libavcodec/mpegaudiodec_template.c index bbd07c5..138a107 100644 --- a/ffmpeg/libavcodec/mpegaudiodec_template.c +++ b/ffmpeg/libavcodec/mpegaudiodec_template.c @@ -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);