indeo3: stop using deprecated avcodec_set_dimensions

pull/45/head
Anton Khirnov 11 years ago
parent 3b08631727
commit 317d6a1503
  1. 2
      libavcodec/indeo3.c

@ -944,7 +944,7 @@ static int decode_frame_headers(Indeo3DecodeContext *ctx, AVCodecContext *avctx,
free_frame_buffers(ctx); free_frame_buffers(ctx);
if ((res = allocate_frame_buffers(ctx, avctx)) < 0) if ((res = allocate_frame_buffers(ctx, avctx)) < 0)
return res; return res;
avcodec_set_dimensions(avctx, width, height); ff_set_dimensions(avctx, width, height);
} }
y_offset = bytestream2_get_le32(&gb); y_offset = bytestream2_get_le32(&gb);

Loading…
Cancel
Save