diff options
Diffstat (limited to 'libavcodec/v408dec.c')
-rw-r--r-- | libavcodec/v408dec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/v408dec.c b/libavcodec/v408dec.c index 8820fc4c..37f1d6e 100644 --- a/libavcodec/v408dec.c +++ b/libavcodec/v408dec.c @@ -20,6 +20,7 @@ */ #include "avcodec.h" +#include "internal.h" static av_cold int v408_decode_init(AVCodecContext *avctx) { @@ -53,7 +54,7 @@ static int v408_decode_frame(AVCodecContext *avctx, void *data, pic->reference = 0; - if (avctx->get_buffer(avctx, pic) < 0) { + if (ff_get_buffer(avctx, pic) < 0) { av_log(avctx, AV_LOG_ERROR, "Could not allocate buffer.\n"); return AVERROR(ENOMEM); } |