comparison qtrleenc.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
61 61
62 static av_cold int qtrle_encode_init(AVCodecContext *avctx) 62 static av_cold int qtrle_encode_init(AVCodecContext *avctx)
63 { 63 {
64 QtrleEncContext *s = avctx->priv_data; 64 QtrleEncContext *s = avctx->priv_data;
65 65
66 if (av_check_image_size(avctx->width, avctx->height, 0, avctx) < 0) { 66 if (av_image_check_size(avctx->width, avctx->height, 0, avctx) < 0) {
67 return -1; 67 return -1;
68 } 68 }
69 s->avctx=avctx; 69 s->avctx=avctx;
70 70
71 switch (avctx->pix_fmt) { 71 switch (avctx->pix_fmt) {