diff options
Diffstat (limited to 'libavcodec/yuv4dec.c')
-rw-r--r-- | libavcodec/yuv4dec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/yuv4dec.c b/libavcodec/yuv4dec.c index ce44f1330f..6454fbfff8 100644 --- a/libavcodec/yuv4dec.c +++ b/libavcodec/yuv4dec.c @@ -21,6 +21,7 @@ */ #include "avcodec.h" +#include "internal.h" static av_cold int yuv4_decode_init(AVCodecContext *avctx) { @@ -54,7 +55,7 @@ static int yuv4_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); } |