diff options
Diffstat (limited to 'libavcodec/v210dec.c')
-rw-r--r-- | libavcodec/v210dec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index d508ce8ea0..b0754767a9 100644 --- a/libavcodec/v210dec.c +++ b/libavcodec/v210dec.c @@ -22,6 +22,7 @@ */ #include "avcodec.h" +#include "internal.h" #include "v210dec.h" #include "libavutil/bswap.h" #include "libavutil/internal.h" @@ -111,7 +112,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, avctx->release_buffer(avctx, pic); pic->reference = 0; - if (avctx->get_buffer(avctx, pic) < 0) + if (ff_get_buffer(avctx, pic) < 0) return -1; y = (uint16_t*)pic->data[0]; |