Mercurial > libavcodec.hg
diff libopenjpeg.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 | 7e9b2d528e59 |
children |
line wrap: on
line diff
--- a/libopenjpeg.c Mon Sep 06 19:26:18 2010 +0000 +++ b/libopenjpeg.c Tue Sep 07 19:15:29 2010 +0000 @@ -114,7 +114,7 @@ } width = image->comps[0].w << avctx->lowres; height = image->comps[0].h << avctx->lowres; - if(av_check_image_size(width, height, 0, avctx) < 0) { + if(av_image_check_size(width, height, 0, avctx) < 0) { av_log(avctx, AV_LOG_ERROR, "%dx%d dimension invalid.\n", width, height); goto done; }