Browse Source

avs: stop using deprecated avcodec_set_dimensions

tags/n2.2-rc1
Anton Khirnov 11 years ago
parent
commit
f176e11cff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/avs.c

+ 1
- 1
libavcodec/avs.c View File

@@ -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;
}


Loading…
Cancel
Save