diff pgssubdec.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 d46c4c3204b8
children
line wrap: on
line diff
--- a/pgssubdec.c	Mon Sep 06 19:26:18 2010 +0000
+++ b/pgssubdec.c	Tue Sep 07 19:15:29 2010 +0000
@@ -270,7 +270,7 @@
 
     dprintf(avctx, "Video Dimensions %dx%d\n",
             w, h);
-    if (av_check_image_size(w, h, 0, avctx) >= 0)
+    if (av_image_check_size(w, h, 0, avctx) >= 0)
         avcodec_set_dimensions(avctx, w, h);
 
     /* Skip 1 bytes of unknown, frame rate? */