*/
#include "avcodec.h"
+#include "internal.h"
static av_cold int v408_decode_init(AVCodecContext *avctx)
{
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);
}