diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-27 10:02:26 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-10-31 20:14:14 +0100 |
commit | f176e11cff74d1b6d01a1d3ef0b23410c7757a34 (patch) | |
tree | 95245f43cfb0b80072f627d2dd1cbab98abbfd9a /libavcodec | |
parent | 78780c8bf6246a1cf1cd0c9096b49dc082a6a8e5 (diff) | |
download | ffmpeg-f176e11cff74d1b6d01a1d3ef0b23410c7757a34.tar.gz |
avs: stop using deprecated avcodec_set_dimensions
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avs.c | 2 |
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; } |