Commit 8b2dd04a authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '0a9e94bb'

* commit '0a9e94bb':
  webp: stop using deprecated avcodec_set_dimensions
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 98ca3fb9 0a9e94bb
......@@ -1085,10 +1085,10 @@ static int vp8_lossless_decode_frame(AVCodecContext *avctx, AVFrame *p,
s->width, w);
}
s->height = h;
ret = av_image_check_size(s->width, s->height, 0, avctx);
ret = ff_set_dimensions(avctx, s->width, s->height);
if (ret < 0)
return ret;
avcodec_set_dimensions(avctx, s->width, s->height);
s->has_alpha = get_bits1(&s->gb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment