X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fiff.c;h=19f41721544c422e6372370ecbde2ed33e77ed16;hb=f19c58b4cf0be11cdcfa609ca78265e4b4206091;hp=7ddcbc6c927bf27656e365dc86f39197bec2890a;hpb=6ce9b4310cf1eba1a356191f30460a97e6653b91;p=ffmpeg diff --git a/libavcodec/iff.c b/libavcodec/iff.c index 7ddcbc6c927..19f41721544 100644 --- a/libavcodec/iff.c +++ b/libavcodec/iff.c @@ -161,7 +161,7 @@ static av_cold int decode_init(AVCodecContext *avctx) return AVERROR_INVALIDDATA; } - if ((err = av_check_image_size(avctx->width, avctx->height, 0, avctx))) + if ((err = av_image_check_size(avctx->width, avctx->height, 0, avctx))) return err; s->planesize = FFALIGN(avctx->width, 16) >> 3; // Align plane size in bits to word-boundary s->planebuf = av_malloc(s->planesize + FF_INPUT_BUFFER_PADDING_SIZE);