diff options
Diffstat (limited to 'libavcodec/adxdec.c')
-rw-r--r-- | libavcodec/adxdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/adxdec.c b/libavcodec/adxdec.c index 4d2892b4b2..d8ea351858 100644 --- a/libavcodec/adxdec.c +++ b/libavcodec/adxdec.c @@ -23,6 +23,7 @@ #include "avcodec.h" #include "adx.h" #include "get_bits.h" +#include "internal.h" /** * @file @@ -142,7 +143,7 @@ static int adx_decode_frame(AVCodecContext *avctx, void *data, /* get output buffer */ c->frame.nb_samples = num_blocks * BLOCK_SAMPLES; - if ((ret = avctx->get_buffer(avctx, &c->frame)) < 0) { + if ((ret = ff_get_buffer(avctx, &c->frame)) < 0) { av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return ret; } |