summaryrefslogtreecommitdiffstats
path: root/libavcodec/avs.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-10-27 10:02:26 +0100
committerAnton Khirnov <anton@khirnov.net>2013-10-31 20:14:14 +0100
commitf176e11cff74d1b6d01a1d3ef0b23410c7757a34 (patch)
tree95245f43cfb0b80072f627d2dd1cbab98abbfd9a /libavcodec/avs.c
parent78780c8bf6246a1cf1cd0c9096b49dc082a6a8e5 (diff)
downloadffmpeg-streaming-f176e11cff74d1b6d01a1d3ef0b23410c7757a34.zip
ffmpeg-streaming-f176e11cff74d1b6d01a1d3ef0b23410c7757a34.tar.gz
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 6ff6d26..8e70a90 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;
}
OpenPOWER on IntegriCloud