This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/4.4 in repository ffmpeg.
commit 127dd6ddd657b0e17e04fb294ad2a74eef48f437 Author: Paul Adenot <[email protected]> AuthorDate: Sun Apr 12 03:18:44 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue May 5 18:55:11 2026 +0200 avcodec/vp9: Rollback dimensions when format is rejected Fixes: BMO#2029296 Found-by: Mozilla Security Team, Paul Adenot for the write variant Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 6c114bd6fa9fe006bed7dcdb88de4790510080d4) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/vp9.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index ce539d1b70..21040836d7 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -244,8 +244,10 @@ static int update_size(AVCodecContext *avctx, int w, int h) *fmtp = AV_PIX_FMT_NONE; ret = ff_thread_get_format(avctx, pix_fmts); - if (ret < 0) + if (ret < 0) { + ff_set_dimensions(avctx, s->w, s->h); return ret; + } avctx->pix_fmt = ret; s->gf_fmt = s->pix_fmt; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
