Mercurial > libavcodec.hg
diff libdiracdec.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/libdiracdec.c Mon Sep 06 19:26:18 2010 +0000 +++ b/libdiracdec.c Tue Sep 07 19:15:29 2010 +0000 @@ -106,7 +106,7 @@ /* tell FFmpeg about sequence details */ dirac_sourceparams_t *src_params = &p_dirac_params->p_decoder->src_params; - if (av_check_image_size(src_params->width, src_params->height, + if (av_image_check_size(src_params->width, src_params->height, 0, avccontext) < 0) { av_log(avccontext, AV_LOG_ERROR, "Invalid dimensions (%dx%d)\n", src_params->width, src_params->height);