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

Git pushed a commit to branch master
in repository ffmpeg.

commit 85b14e60ea1ec46eee7e2a53fc7029a5f48b3af4
Author:     Niklas Haas <[email protected]>
AuthorDate: Thu Oct 22 21:05:07 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Fri Oct 23 20:20:16 2026 +0200

    swscale/x86/ops_int: fix over-read in SSE4 READ_BIT
    
    A block only covers 2 bytes of input, but movd loaded 4.
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/x86/ops_int.asm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswscale/x86/ops_int.asm b/libswscale/x86/ops_int.asm
index 692a3627ac..22540d4ce7 100644
--- a/libswscale/x86/ops_int.asm
+++ b/libswscale/x86/ops_int.asm
@@ -150,8 +150,8 @@ assert COMPS == 1
         vpbroadcastd mx,  [in0q]
 IF V2,  vpbroadcastd mx2, [in0q + 4]
 %else
-        movd mx, [in0q]
-IF V2,  movd mx2, [in0q + 2]
+        pinsrw mx, [in0q], 0
+IF V2,  pinsrw mx2, [in0q + 2], 0
 %endif
         mova m8, [bits_shuf]
         VBROADCASTI128 m9,  [bits_mask]

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