]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libvpxdec.c
aacenc: fix typo in sync extension constant in 8ae0fa2
[ffmpeg] / libavcodec / libvpxdec.c
index 8fa7050654c388061a472ef73f72cc476363970c..12efb9f00ffc7c37d0ad4db7dd96d37651907dfe 100644 (file)
@@ -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);
         }