From 58c6239e852f525fc0afa3ab689e860ea3943913 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 27 Oct 2013 10:02:26 +0100 Subject: g2meet: stop using deprecated avcodec_set_dimensions --- libavcodec/g2meet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/g2meet.c') diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c index e7743e7e9f..0b4a8b718f 100644 --- a/libavcodec/g2meet.c +++ b/libavcodec/g2meet.c @@ -702,7 +702,7 @@ static int g2m_decode_frame(AVCodecContext *avctx, void *data, goto header_fail; } if (c->width != avctx->width || c->height != avctx->height) - avcodec_set_dimensions(avctx, c->width, c->height); + ff_set_dimensions(avctx, c->width, c->height); c->compression = bytestream2_get_be32(&bc); if (c->compression != 2 && c->compression != 3) { av_log(avctx, AV_LOG_ERROR, -- cgit v1.2.3