Commit 317d6a15 authored by Anton Khirnov's avatar Anton Khirnov

indeo3: stop using deprecated avcodec_set_dimensions

parent 3b086317
......@@ -944,7 +944,7 @@ static int decode_frame_headers(Indeo3DecodeContext *ctx, AVCodecContext *avctx,
free_frame_buffers(ctx);
if ((res = allocate_frame_buffers(ctx, avctx)) < 0)
return res;
avcodec_set_dimensions(avctx, width, height);
ff_set_dimensions(avctx, width, height);
}
y_offset = bytestream2_get_le32(&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