diff dnxhddec.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/dnxhddec.c	Mon Sep 06 19:26:18 2010 +0000
+++ b/dnxhddec.c	Tue Sep 07 19:15:29 2010 +0000
@@ -306,7 +306,7 @@
     }
 
     avctx->pix_fmt = PIX_FMT_YUV422P;
-    if (av_check_image_size(ctx->width, ctx->height, 0, avctx))
+    if (av_image_check_size(ctx->width, ctx->height, 0, avctx))
         return -1;
     avcodec_set_dimensions(avctx, ctx->width, ctx->height);