From 594d4d5df3c70404168701dd5c90b7e6e5587793 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 10 Nov 2012 13:22:56 +0100 Subject: lavc: add a wrapper for AVCodecContext.get_buffer(). It will be useful in the upcoming transition to refcounted AVFrames. --- libavcodec/svq1enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/svq1enc.c') diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c index 1e52e1cac1..21531f636d 100644 --- a/libavcodec/svq1enc.c +++ b/libavcodec/svq1enc.c @@ -551,8 +551,8 @@ static int svq1_encode_frame(AVCodecContext *avctx, AVPacket *pkt, } if (!s->current_picture.data[0]) { - avctx->get_buffer(avctx, &s->current_picture); - avctx->get_buffer(avctx, &s->last_picture); + ff_get_buffer(avctx, &s->current_picture); + ff_get_buffer(avctx, &s->last_picture); s->scratchbuf = av_malloc(s->current_picture.linesize[0] * 16 * 2); } -- cgit v1.2.3