diff nuv.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 914f484bb476
children
line wrap: on
line diff
--- a/nuv.c	Mon Sep 06 19:26:18 2010 +0000
+++ b/nuv.c	Tue Sep 07 19:15:29 2010 +0000
@@ -112,7 +112,7 @@
     if (quality >= 0)
         get_quant_quality(c, quality);
     if (width != c->width || height != c->height) {
-        if (av_check_image_size(height, width, 0, avctx) < 0)
+        if (av_image_check_size(height, width, 0, avctx) < 0)
             return 0;
         avctx->width = c->width = width;
         avctx->height = c->height = height;