Commit 7722ae35 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/c93: stop using deprecated avcodec_set_dimensions

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent be74cb51
......@@ -127,7 +127,8 @@ static int decode_frame(AVCodecContext *avctx, void *data,
uint8_t *out;
int stride, ret, i, x, y, b, bt = 0;
avcodec_set_dimensions(avctx, WIDTH, HEIGHT);
if ((ret = ff_set_dimensions(avctx, WIDTH, HEIGHT)) < 0)
return ret;
c93->currentpic ^= 1;
......
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