diff options
Diffstat (limited to 'libavcodec/g729dec.c')
-rw-r--r-- | libavcodec/g729dec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c index 036614d..b44120f 100644 --- a/libavcodec/g729dec.c +++ b/libavcodec/g729dec.c @@ -26,6 +26,8 @@ #include "libavutil/avutil.h" #include "get_bits.h" #include "dsputil.h" +#include "internal.h" + #include "g729.h" #include "lsp.h" @@ -418,7 +420,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, int is_periodic = 0; // whether one of the subframes is declared as periodic or not ctx->frame.nb_samples = SUBFRAME_SIZE<<1; - if ((ret = avctx->get_buffer(avctx, &ctx->frame)) < 0) { + if ((ret = ff_get_buffer(avctx, &ctx->frame)) < 0) { av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return ret; } |