diff libschroedingerdec.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 7e9b2d528e59
children
line wrap: on
line diff
--- a/libschroedingerdec.c	Mon Sep 06 19:26:18 2010 +0000
+++ b/libschroedingerdec.c	Tue Sep 07 19:15:29 2010 +0000
@@ -170,7 +170,7 @@
     p_schro_params->format = schro_decoder_get_video_format(decoder);
 
     /* Tell FFmpeg about sequence details. */
-    if (av_check_image_size(p_schro_params->format->width, p_schro_params->format->height,
+    if (av_image_check_size(p_schro_params->format->width, p_schro_params->format->height,
                             0, avccontext) < 0) {
         av_log(avccontext, AV_LOG_ERROR, "invalid dimensions (%dx%d)\n",
                p_schro_params->format->width, p_schro_params->format->height);