From: Andreas Rheinhardt <andreas.rheinha...@outlook.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".