Mercurial > libavcodec.hg
diff pngdec.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 |
line wrap: on
line diff
--- a/pngdec.c Mon Sep 06 19:26:18 2010 +0000 +++ b/pngdec.c Tue Sep 07 19:15:29 2010 +0000 @@ -442,7 +442,7 @@ goto fail; s->width = bytestream_get_be32(&s->bytestream); s->height = bytestream_get_be32(&s->bytestream); - if(av_check_image_size(s->width, s->height, 0, avctx)){ + if(av_image_check_size(s->width, s->height, 0, avctx)){ s->width= s->height= 0; goto fail; }