diff mjpegdec.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 b31e6ace12f6
children
line wrap: on
line diff
--- a/mjpegdec.c	Mon Sep 06 19:26:18 2010 +0000
+++ b/mjpegdec.c	Tue Sep 07 19:15:29 2010 +0000
@@ -219,7 +219,7 @@
         height= s->height;
 
     av_log(s->avctx, AV_LOG_DEBUG, "sof0: picture: %dx%d\n", width, height);
-    if(av_check_image_size(width, height, 0, s->avctx))
+    if(av_image_check_size(width, height, 0, s->avctx))
         return -1;
 
     nb_components = get_bits(&s->gb, 8);