[FFmpeg-cvslog] avs: stop using deprecated avcodec_set_dimensions

Anton Khirnov git at videolan.org
Fri Nov 1 13:53:43 CET 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Oct 27 10:02:26 2013 +0100| [f176e11cff74d1b6d01a1d3ef0b23410c7757a34] | committer: Anton Khirnov

avs: stop using deprecated avcodec_set_dimensions

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f176e11cff74d1b6d01a1d3ef0b23410c7757a34
---

 libavcodec/avs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the ffmpeg-cvslog mailing list