This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit b9d4bd727165a882fe3aa8e37ecb7ad82b3ecbbc
Author:     Niklas Haas <[email protected]>
AuthorDate: Thu Oct 22 20:42:01 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Fri Oct 23 20:20:16 2026 +0200

    swscale/x86/ops_int: fix over-write in SSE4 WRITE_NIBBLE
    
    Without AVX2, a block only holds 8 bytes worth of nibbles, but the full
    XMM register was stored, clobbering 8 bytes past the end of the block.
    This corrupted the previous line for negative linesizes.
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/x86/ops_int.asm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libswscale/x86/ops_int.asm b/libswscale/x86/ops_int.asm
index 6f49ffeafe..692a3627ac 100644
--- a/libswscale/x86/ops_int.asm
+++ b/libswscale/x86/ops_int.asm
@@ -134,9 +134,12 @@ assert COMPS == 1
 %if cpuflag(avx2)
         vpermq mx, mx, q3120
 IF V2,  vpermq mx2, mx2, q3120
-%endif
         movu [out0q], xmx
 IF V2,  movu [out0q + (mmsize >> 1)], xmx2
+%else
+        movq [out0q], mx
+IF V2,  movq [out0q + (mmsize >> 1)], mx2
+%endif
         add out0q, BLOCK_WIDTH >> 1
         RET
 %endmacro

-- 
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]

Reply via email to