Browse Source

indeo3: stop using deprecated avcodec_set_dimensions

tags/n2.2-rc1
Anton Khirnov 11 years ago
parent
commit
317d6a1503
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/indeo3.c

+ 1
- 1
libavcodec/indeo3.c View File

@@ -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…
Cancel
Save