diff vp8.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 908559b5bd7c
children
line wrap: on
line diff
--- a/vp8.c	Mon Sep 06 19:26:18 2010 +0000
+++ b/vp8.c	Tue Sep 07 19:15:29 2010 +0000
@@ -223,7 +223,7 @@
 
 static int update_dimensions(VP8Context *s, int width, int height)
 {
-    if (av_check_image_size(width, height, 0, s->avctx))
+    if (av_image_check_size(width, height, 0, s->avctx))
         return AVERROR_INVALIDDATA;
 
     vp8_decode_flush(s->avctx);