mirror of https://git.ffmpeg.org/ffmpeg.git
g729dec: fix use of deprecated functions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ad21c05172
commit
934abf6ff8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue