diff options
Diffstat (limited to 'libavcodec/yop.c')
-rw-r--r-- | libavcodec/yop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/yop.c b/libavcodec/yop.c index 255ed32ca7..856d6f4e26 100644 --- a/libavcodec/yop.c +++ b/libavcodec/yop.c @@ -27,6 +27,7 @@ #include "avcodec.h" #include "get_bits.h" +#include "internal.h" typedef struct YopDecContext { AVFrame frame; @@ -207,7 +208,7 @@ static int yop_decode_frame(AVCodecContext *avctx, void *data, int *data_size, return AVERROR_INVALIDDATA; } - ret = avctx->get_buffer(avctx, &s->frame); + ret = ff_get_buffer(avctx, &s->frame); if (ret < 0) { av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return ret; |