[FFmpeg-devel] [PATCH 01/48] avcodec/ituh263dec: Use correct logcontext

Andreas Rheinhardt ffmpegagent at gmail.com
Mon Jun 23 16:36:01 EEST 2025


From: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 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)) {
-- 
ffmpeg-codebot



More information about the ffmpeg-devel mailing list