mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
indeo3: stop using deprecated avcodec_set_dimensions
This commit is contained in:
parent
3b08631727
commit
317d6a1503
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user