diff options
Diffstat (limited to 'libavcodec/pictordec.c')
-rw-r--r-- | libavcodec/pictordec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c index 748d9b3..64dd815 100644 --- a/libavcodec/pictordec.c +++ b/libavcodec/pictordec.c @@ -28,6 +28,7 @@ #include "avcodec.h" #include "bytestream.h" #include "cga_data.h" +#include "internal.h" typedef struct PicContext { AVFrame frame; @@ -154,7 +155,7 @@ static int decode_frame(AVCodecContext *avctx, avctx->release_buffer(avctx, &s->frame); } - if (avctx->get_buffer(avctx, &s->frame) < 0){ + if (ff_get_buffer(avctx, &s->frame) < 0){ av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return -1; } |