comparison bink.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
970 } 970 }
971 c->avctx = avctx; 971 c->avctx = avctx;
972 972
973 c->pic.data[0] = NULL; 973 c->pic.data[0] = NULL;
974 974
975 if (av_check_image_size(avctx->width, avctx->height, 0, avctx) < 0) { 975 if (av_image_check_size(avctx->width, avctx->height, 0, avctx) < 0) {
976 return 1; 976 return 1;
977 } 977 }
978 978
979 avctx->pix_fmt = c->has_alpha ? PIX_FMT_YUVA420P : PIX_FMT_YUV420P; 979 avctx->pix_fmt = c->has_alpha ? PIX_FMT_YUVA420P : PIX_FMT_YUV420P;
980 980