diff yop.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/yop.c	Mon Sep 06 19:26:18 2010 +0000
+++ b/yop.c	Tue Sep 07 19:15:29 2010 +0000
@@ -85,7 +85,7 @@
     s->avctx = avctx;
 
     if (avctx->width & 1 || avctx->height & 1 ||
-        av_check_image_size(avctx->width, avctx->height, 0, avctx) < 0) {
+        av_image_check_size(avctx->width, avctx->height, 0, avctx) < 0) {
         av_log(avctx, AV_LOG_ERROR, "YOP has invalid dimensions\n");
         return -1;
     }