Use new imgutils.h API names, fix deprecation warnings.
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9b7269e379
commit
e16f217ceb
51 changed files with 66 additions and 66 deletions
|
|
@ -98,7 +98,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data,
|
|||
if (p->data[0])
|
||||
avctx->release_buffer(avctx, p);
|
||||
|
||||
if (av_check_image_size(w, h, 0, avctx))
|
||||
if (av_image_check_size(w, h, 0, avctx))
|
||||
return -1;
|
||||
if (w != avctx->width || h != avctx->height)
|
||||
avcodec_set_dimensions(avctx, w, h);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue