summaryrefslogtreecommitdiff
path: root/libavcodec/libvpxdec.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-07 19:15:29 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-07 19:15:29 +0000
commite16f217ceb95395669abe3cea18737e92fb78c82 (patch)
tree8e55022c675d84e0cf39ebb7047396992dd93e7d /libavcodec/libvpxdec.c
parent9b7269e379289e240404c803acac25c607bb0e26 (diff)
Use new imgutils.h API names, fix deprecation warnings.
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libvpxdec.c')
-rw-r--r--libavcodec/libvpxdec.c2
1 files changed, 1 insertions, 1 deletions
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);
}