This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 7e1f63d5dd59d0dabf529eddb9470b99c77534c9 Author: Michael Niedermayer <[email protected]> AuthorDate: Sun Sep 13 23:46:12 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sat Sep 26 21:15:26 2026 +0000 swscale: stretch the MMXEXT fast bilinear positions by 1 instead of 20 Fixes: out of array read Fixes: p2bTyZBk48yf Found-by: review of the fix for p2bTyZBk48yf --- libswscale/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswscale/utils.c b/libswscale/utils.c index 05b84633ee..439236e8ef 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -1446,8 +1446,8 @@ av_cold int ff_sws_init_single_context(SwsContext *sws, SwsFilter *srcFilter, * some special code for the first and last pixel */ if (flags & SWS_FAST_BILINEAR) { if (c->canMMXEXTBeUsed) { - lumXInc += 20; - chrXInc += 20; + lumXInc += 1; + chrXInc += 1; } // we don't use the x86 asm scaler if MMX is available else if (INLINE_MMX(cpu_flags) && c->dstBpc <= 14) { -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
