diff eamad.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/eamad.c	Mon Sep 06 19:26:18 2010 +0000
+++ b/eamad.c	Tue Sep 07 19:15:29 2010 +0000
@@ -261,7 +261,7 @@
     buf += 16;
 
     if (avctx->width != s->width || avctx->height != s->height) {
-        if (av_check_image_size(s->width, s->height, 0, avctx) < 0)
+        if (av_image_check_size(s->width, s->height, 0, avctx) < 0)
             return -1;
         avcodec_set_dimensions(avctx, s->width, s->height);
         if (t->frame.data[0])