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 44862a9d68 avutil/aarch64/cpu: fix check for SME on Linux
44862a9d68 is described below

commit 44862a9d682dfb10dc1e62229861091ee92e2bd3
Author:     James Almer <[email protected]>
AuthorDate: Wed Dec 10 21:51:11 2025 -0300
Commit:     James Almer <[email protected]>
CommitDate: Wed Dec 10 21:51:11 2025 -0300

    avutil/aarch64/cpu: fix check for SME on Linux
    
    SME is a AT_HWCAP2 entry, not AT_HWCAP.
    
    Signed-off-by: James Almer <[email protected]>
---
 libavutil/aarch64/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/aarch64/cpu.c b/libavutil/aarch64/cpu.c
index 3394963303..f93ff08fb5 100644
--- a/libavutil/aarch64/cpu.c
+++ b/libavutil/aarch64/cpu.c
@@ -45,7 +45,7 @@ static int detect_flags(void)
         flags |= AV_CPU_FLAG_SVE2;
     if (hwcap2 & HWCAP2_AARCH64_I8MM)
         flags |= AV_CPU_FLAG_I8MM;
-    if (hwcap & HWCAP2_AARCH64_SME)
+    if (hwcap2 & HWCAP2_AARCH64_SME)
         flags |= AV_CPU_FLAG_SME;
 
     return flags;

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

Reply via email to