From baccb96fce6b5c3f22fc05ea20c46a0cd096d657 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 19 Jun 2025 18:51:39 +0200 Subject: [PATCH] avcodec/ituh263dec: Use correct logcontext Signed-off-by: Andreas Rheinhardt --- libavcodec/ituh263dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c index f1f96010b2..95cd8f0b13 100644 --- a/libavcodec/ituh263dec.c +++ b/libavcodec/ituh263dec.c @@ -1295,7 +1295,8 @@ int ff_h263_decode_picture_header(MpegEncContext *s) s->qscale = get_bits(&s->gb, 5); } - if ((ret = av_image_check_size(s->width, s->height, 0, s)) < 0) + ret = av_image_check_size(s->width, s->height, 0, s->avctx); + if (ret < 0) return ret; if (!(s->avctx->flags2 & AV_CODEC_FLAG2_CHUNKS)) {