diff options
Diffstat (limited to 'libavcodec/proresdec2.c')
-rw-r--r-- | libavcodec/proresdec2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c index e643c87..7064fb4 100644 --- a/libavcodec/proresdec2.c +++ b/libavcodec/proresdec2.c @@ -30,6 +30,7 @@ #include "avcodec.h" #include "get_bits.h" +#include "internal.h" #include "simple_idct.h" #include "proresdec.h" @@ -550,7 +551,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, if (frame->data[0]) avctx->release_buffer(avctx, frame); - if (avctx->get_buffer(avctx, frame) < 0) + if (ff_get_buffer(avctx, frame) < 0) return -1; decode_picture: |