Mercurial > libavcodec.hg
comparison pgssubdec.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 | d46c4c3204b8 |
children |
comparison
equal
deleted
inserted
replaced
12461:25174028da0a | 12462:ffb3668ff7af |
---|---|
268 int w = bytestream_get_be16(&buf); | 268 int w = bytestream_get_be16(&buf); |
269 int h = bytestream_get_be16(&buf); | 269 int h = bytestream_get_be16(&buf); |
270 | 270 |
271 dprintf(avctx, "Video Dimensions %dx%d\n", | 271 dprintf(avctx, "Video Dimensions %dx%d\n", |
272 w, h); | 272 w, h); |
273 if (av_check_image_size(w, h, 0, avctx) >= 0) | 273 if (av_image_check_size(w, h, 0, avctx) >= 0) |
274 avcodec_set_dimensions(avctx, w, h); | 274 avcodec_set_dimensions(avctx, w, h); |
275 | 275 |
276 /* Skip 1 bytes of unknown, frame rate? */ | 276 /* Skip 1 bytes of unknown, frame rate? */ |
277 buf++; | 277 buf++; |
278 | 278 |