Use new imgutils.h API names, fix deprecation warnings.
[ffmpeg.git] / libavcodec / targa.c
index d576647..7b905a2 100644 (file)
@@ -146,7 +146,7 @@ static int decode_frame(AVCodecContext *avctx,
     if(s->picture.data[0])
         avctx->release_buffer(avctx, &s->picture);
 
-    if(av_check_image_size(w, h, 0, avctx))
+    if(av_image_check_size(w, h, 0, avctx))
         return -1;
     if(w != avctx->width || h != avctx->height)
         avcodec_set_dimensions(avctx, w, h);