mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '0a9e94bba8f8a40156438a43e4fe0e9ae36236cb'
* commit '0a9e94bba8f8a40156438a43e4fe0e9ae36236cb': webp: stop using deprecated avcodec_set_dimensions Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
8b2dd04afc
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user