X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fv408dec.c;h=37f1d6ee87eb455bd5084014c23ad7822057a61f;hb=874c5b02c4117d5261365d0de727c0b4dc9363f6;hp=8820fc4cbf24c8802e94eba6a170382ccf51706f;hpb=1885ffb03d0af28e6bac2bcc8725fa15b93f6ac9;p=ffmpeg diff --git a/libavcodec/v408dec.c b/libavcodec/v408dec.c index 8820fc4cbf2..37f1d6ee87e 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); }