diff options
Diffstat (limited to 'libavcodec/v308dec.c')
-rw-r--r-- | libavcodec/v308dec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/v308dec.c b/libavcodec/v308dec.c index fd742ca..e8eaeb4 100644 --- a/libavcodec/v308dec.c +++ b/libavcodec/v308dec.c @@ -20,6 +20,7 @@ */ #include "avcodec.h" +#include "internal.h" static av_cold int v308_decode_init(AVCodecContext *avctx) { @@ -56,7 +57,7 @@ static int v308_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); } |