Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-10-27 13:02:26 +0400
committerAnton Khirnov <anton@khirnov.net>2013-10-31 23:14:14 +0400
commitf176e11cff74d1b6d01a1d3ef0b23410c7757a34 (patch)
tree95245f43cfb0b80072f627d2dd1cbab98abbfd9a /libavcodec/avs.c
parent78780c8bf6246a1cf1cd0c9096b49dc082a6a8e5 (diff)
avs: stop using deprecated avcodec_set_dimensions
Diffstat (limited to 'libavcodec/avs.c')
-rw-r--r--libavcodec/avs.c2
1 files changed, 1 insertions, 1 deletions
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;
}