Mercurial > libavcodec.hg
comparison rv10.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 |
---|---|
368 new_w= s->orig_width ; | 368 new_w= s->orig_width ; |
369 new_h= s->orig_height; | 369 new_h= s->orig_height; |
370 } | 370 } |
371 if(new_w != s->width || new_h != s->height){ | 371 if(new_w != s->width || new_h != s->height){ |
372 av_log(s->avctx, AV_LOG_DEBUG, "attempting to change resolution to %dx%d\n", new_w, new_h); | 372 av_log(s->avctx, AV_LOG_DEBUG, "attempting to change resolution to %dx%d\n", new_w, new_h); |
373 if (av_check_image_size(new_w, new_h, 0, s->avctx) < 0) | 373 if (av_image_check_size(new_w, new_h, 0, s->avctx) < 0) |
374 return -1; | 374 return -1; |
375 MPV_common_end(s); | 375 MPV_common_end(s); |
376 avcodec_set_dimensions(s->avctx, new_w, new_h); | 376 avcodec_set_dimensions(s->avctx, new_w, new_h); |
377 s->width = new_w; | 377 s->width = new_w; |
378 s->height = new_h; | 378 s->height = new_h; |