Mercurial > libavcodec.hg
comparison dirac.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 | 914f484bb476 |
children |
comparison
equal
deleted
inserted
replaced
12461:25174028da0a | 12462:ffb3668ff7af |
---|---|
267 | 267 |
268 // Override the defaults. | 268 // Override the defaults. |
269 if (parse_source_parameters(avctx, gb, source)) | 269 if (parse_source_parameters(avctx, gb, source)) |
270 return -1; | 270 return -1; |
271 | 271 |
272 if (av_check_image_size(source->width, source->height, 0, avctx)) | 272 if (av_image_check_size(source->width, source->height, 0, avctx)) |
273 return -1; | 273 return -1; |
274 | 274 |
275 avcodec_set_dimensions(avctx, source->width, source->height); | 275 avcodec_set_dimensions(avctx, source->width, source->height); |
276 | 276 |
277 // currently only used to signal field coding | 277 // currently only used to signal field coding |