summaryrefslogtreecommitdiff
path: root/libavcodec/avs.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-01 13:40:01 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-01 13:40:04 +0100
commitf016a23c7fa0b089a394e25eeefa5d5f4d99d926 (patch)
tree150ac256bf70e36cdf7f072209d3871f0ede55ac /libavcodec/avs.c
parent5ef0c00580e25afa32d5a6ef86559ffb9ce3b2dc (diff)
parentc7a5acabc537c2ce363165c31250aba341b1a990 (diff)
Merge commit 'c7a5acabc537c2ce363165c31250aba341b1a990'
* commit 'c7a5acabc537c2ce363165c31250aba341b1a990': dnxhddec: stop using deprecated avcodec_set_dimensions dirac: stop using deprecated avcodec_set_dimensions cdxl: stop using deprecated avcodec_set_dimensions avs: stop using deprecated avcodec_set_dimensions Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 065345b5cd..abfe54de13 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;
}