diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c index e7743e7e9fcbfc517375b16684ce0389e7e25853..0b4a8b718f44a8fe8272dde3a5982f145558c952 100644 --- a/libavcodec/g2meet.c +++ b/libavcodec/g2meet.c @@ -702,7 +702,7 @@ static int g2m_decode_frame(AVCodecContext *avctx, void *data, goto header_fail; } if (c->width != avctx->width || c->height != avctx->height) - avcodec_set_dimensions(avctx, c->width, c->height); + ff_set_dimensions(avctx, c->width, c->height); c->compression = bytestream2_get_be32(&bc); if (c->compression != 2 && c->compression != 3) { av_log(avctx, AV_LOG_ERROR,