Mercurial > libavcodec.hg
comparison dnxhddec.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 |
---|---|
304 avctx->width, avctx->height, ctx->width, ctx->height); | 304 avctx->width, avctx->height, ctx->width, ctx->height); |
305 first_field = 1; | 305 first_field = 1; |
306 } | 306 } |
307 | 307 |
308 avctx->pix_fmt = PIX_FMT_YUV422P; | 308 avctx->pix_fmt = PIX_FMT_YUV422P; |
309 if (av_check_image_size(ctx->width, ctx->height, 0, avctx)) | 309 if (av_image_check_size(ctx->width, ctx->height, 0, avctx)) |
310 return -1; | 310 return -1; |
311 avcodec_set_dimensions(avctx, ctx->width, ctx->height); | 311 avcodec_set_dimensions(avctx, ctx->width, ctx->height); |
312 | 312 |
313 if (first_field) { | 313 if (first_field) { |
314 if (ctx->picture.data[0]) | 314 if (ctx->picture.data[0]) |