From f176e11cff74d1b6d01a1d3ef0b23410c7757a34 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 27 Oct 2013 10:02:26 +0100 Subject: avs: stop using deprecated avcodec_set_dimensions --- libavcodec/avs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/avs.c') diff --git a/libavcodec/avs.c b/libavcodec/avs.c index 6ff6d26be3..8e70a90c9c 100644 --- a/libavcodec/avs.c +++ b/libavcodec/avs.c @@ -160,7 +160,7 @@ static av_cold int avs_decode_init(AVCodecContext * avctx) { AvsContext *s = avctx->priv_data; avctx->pix_fmt = AV_PIX_FMT_PAL8; - avcodec_set_dimensions(avctx, 318, 198); + ff_set_dimensions(avctx, 318, 198); avcodec_get_frame_defaults(&s->picture); return 0; } -- cgit v1.2.3