On 10/27/2013 06:10 AM, Anton Khirnov wrote: > --- > libavcodec/webp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/webp.c b/libavcodec/webp.c > index 8ad24f8..cf431fe 100644 > --- a/libavcodec/webp.c > +++ b/libavcodec/webp.c > @@ -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); >
Ok -Justin _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel