OSDN Git Service

g729dec: fix use of deprecated functions.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 16 Feb 2012 22:02:07 +0000 (23:02 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 16 Feb 2012 22:02:07 +0000 (23:02 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/g729dec.c

index 191794b..bdc9b68 100644 (file)
@@ -378,7 +378,7 @@ static av_cold int decoder_init(AVCodecContext * avctx)
     for(i=0; i<4; i++)
         ctx->quant_energy[i] = -14336; // -14 in (5.10)
 
-    dsputil_init(&ctx->dsp, avctx);
+    ff_dsputil_init(&ctx->dsp, avctx);
     ctx->dsp.scalarproduct_int16 = scalarproduct_int16_c;
 
     avcodec_get_frame_defaults(&ctx->frame);