diff options
Diffstat (limited to 'libavcodec/dcadec.c')
-rw-r--r-- | libavcodec/dcadec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index acbabd64cc..59c1e6e3ea 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -45,6 +45,7 @@ #include "synth_filter.h" #include "dcadsp.h" #include "fmtconvert.h" +#include "internal.h" #if ARCH_ARM # include "arm/dca.h" @@ -2352,7 +2353,7 @@ static int dca_decode_frame(AVCodecContext *avctx, void *data, /* get output buffer */ s->frame.nb_samples = 256 * (s->sample_blocks / 8); - if ((ret = avctx->get_buffer(avctx, &s->frame)) < 0) { + if ((ret = ff_get_buffer(avctx, &s->frame)) < 0) { av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return ret; } |