X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fmpc8.c;h=a6bb5801c5727188b19e8988dc2b209240f696f4;hb=e5550c0d0971e393ba221cd69506acd2c2dab89c;hp=1af417ac08373b15bdccaefc69d5e941dcfeea29;hpb=87b9dc098240e72c8874e2d3a75e954cd56dc776;p=ffmpeg diff --git a/libavcodec/mpc8.c b/libavcodec/mpc8.c index 1af417ac083..a6bb5801c57 100644 --- a/libavcodec/mpc8.c +++ b/libavcodec/mpc8.c @@ -30,6 +30,7 @@ #include "avcodec.h" #include "get_bits.h" #include "dsputil.h" +#include "internal.h" #include "mpegaudiodsp.h" #include "mpc.h" @@ -255,7 +256,7 @@ static int mpc8_decode_frame(AVCodecContext * avctx, void *data, /* get output buffer */ c->frame.nb_samples = MPC_FRAME_SIZE; - if ((res = avctx->get_buffer(avctx, &c->frame)) < 0) { + if ((res = ff_get_buffer(avctx, &c->frame)) < 0) { av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return res; }