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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 22b08e8cc1 swscale/x86: fix SIGILL in u8 SCALE on SSE4-only CPUs
22b08e8cc1 is described below

commit 22b08e8cc1cc0b9504f75cf46f6b6698247c3616
Author:     Zhao Zhili <[email protected]>
AuthorDate: Fri Jul 3 19:04:37 2026 +0800
Commit:     Zhao Zhili <[email protected]>
CommitDate: Sat Jul 4 16:52:27 2026 +0000

    swscale/x86: fix SIGILL in u8 SCALE on SSE4-only CPUs
    
    Signed-off-by: Zhao Zhili <[email protected]>
---
 libswscale/x86/ops_int.asm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libswscale/x86/ops_int.asm b/libswscale/x86/ops_int.asm
index ce9ab1fdc9..395feb9531 100644
--- a/libswscale/x86/ops_int.asm
+++ b/libswscale/x86/ops_int.asm
@@ -733,7 +733,12 @@ IF W,   packuswb %4, m11
 %macro SCALE 0
         LOAD_CONT tmp0q
 %if BITS == 8
+%if cpuflag(avx2)
         vpbroadcastw m12, [implq + SwsOpImpl.priv]
+%else
+        movd xm12, [implq + SwsOpImpl.priv]
+        SPLATW m12, xm12, 0
+%endif
         pxor m15, m15
         scale8 mx,  my,  mz,  mw,  m12
 IF1 V2, scale8 mx2, my2, mz2, mw2, m12

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to