Message ID | 1c5d7cb5-5bd2-489d-d528-38cc67a64c65@quotient-inc.com |
---|---|
State | New |
Headers | show |
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index 0e70be1..b9743ab 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -147,7 +147,7 @@ static av_cold int vqa_decode_init(AVCodecContext *avctx) } s->width = AV_RL16(&s->avctx->extradata[6]); s->height = AV_RL16(&s->avctx->extradata[8]); - if ((ret = av_image_check_size(s->width, s->height, 0, avctx)) < 0) { + if ((ret = ff_set_dimensions(avctx, s->width, s->height)) < 0) { s->width= s->height= 0; return ret;