Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
12461:25174028da0a | 12462:ffb3668ff7af |
---|---|
221 s->macroblocks = NULL; | 221 s->macroblocks = NULL; |
222 } | 222 } |
223 | 223 |
224 static int update_dimensions(VP8Context *s, int width, int height) | 224 static int update_dimensions(VP8Context *s, int width, int height) |
225 { | 225 { |
226 if (av_check_image_size(width, height, 0, s->avctx)) | 226 if (av_image_check_size(width, height, 0, s->avctx)) |
227 return AVERROR_INVALIDDATA; | 227 return AVERROR_INVALIDDATA; |
228 | 228 |
229 vp8_decode_flush(s->avctx); | 229 vp8_decode_flush(s->avctx); |
230 | 230 |
231 avcodec_set_dimensions(s->avctx, width, height); | 231 avcodec_set_dimensions(s->avctx, width, height); |