comparison sgidec.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
200 } else { 200 } else {
201 av_log(avctx, AV_LOG_ERROR, "wrong picture format\n"); 201 av_log(avctx, AV_LOG_ERROR, "wrong picture format\n");
202 return -1; 202 return -1;
203 } 203 }
204 204
205 if (av_check_image_size(s->width, s->height, 0, avctx)) 205 if (av_image_check_size(s->width, s->height, 0, avctx))
206 return -1; 206 return -1;
207 avcodec_set_dimensions(avctx, s->width, s->height); 207 avcodec_set_dimensions(avctx, s->width, s->height);
208 208
209 if (p->data[0]) 209 if (p->data[0])
210 avctx->release_buffer(avctx, p); 210 avctx->release_buffer(avctx, p);