Mercurial > libavcodec.hg
diff pictordec.c @ 12462:ffb3668ff7af libavcodec
Use new imgutils.h API names, fix deprecation warnings.
author | stefano |
---|---|
date | Tue, 07 Sep 2010 19:15:29 +0000 |
parents | 914f484bb476 |
children | 34beb0af8204 |
line wrap: on
line diff
--- a/pictordec.c Mon Sep 06 19:26:18 2010 +0000 +++ b/pictordec.c Tue Sep 07 19:15:29 2010 +0000 @@ -136,7 +136,7 @@ avctx->pix_fmt = PIX_FMT_PAL8; if (s->width != avctx->width && s->height != avctx->height) { - if (av_check_image_size(s->width, s->height, 0, avctx) < 0) + if (av_image_check_size(s->width, s->height, 0, avctx) < 0) return -1; avcodec_set_dimensions(avctx, s->width, s->height); if (s->frame.data[0])