From e16f217ceb95395669abe3cea18737e92fb78c82 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 7 Sep 2010 19:15:29 +0000 Subject: Use new imgutils.h API names, fix deprecation warnings. Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/libvpxdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/libvpxdec.c') diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c index 8fa7050654..12efb9f00f 100644 --- a/libavcodec/libvpxdec.c +++ b/libavcodec/libvpxdec.c @@ -87,7 +87,7 @@ static int vp8_decode(AVCodecContext *avctx, if ((int) img->d_w != avctx->width || (int) img->d_h != avctx->height) { av_log(avctx, AV_LOG_INFO, "dimension change! %dx%d -> %dx%d\n", avctx->width, avctx->height, img->d_w, img->d_h); - if (av_check_image_size(img->d_w, img->d_h, 0, avctx)) + if (av_image_check_size(img->d_w, img->d_h, 0, avctx)) return AVERROR_INVALIDDATA; avcodec_set_dimensions(avctx, img->d_w, img->d_h); } -- cgit v1.2.3