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

Git pushed a commit to branch master
in repository ffmpeg.

commit eaebdc491d1f9950ec4ee0b033a36ab2194c9f2a
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Tue Sep 8 04:41:07 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Mon Sep 14 04:35:12 2026 +0200

    configure: enable shared protocol also with native atomics
    
    stdatomic.h is always available, either the native or the compat version,
    so the stdatomic dependency was always incorrect. The stdatomic check is
    internal to configure, it only decides whether the compat version has to
    be added, and should not be used as a dependency of any code. Before the
    recent compat/atomics rewrite the compat headers were not compatible with
    the way shared.c uses atomics, so the protocol was silently disabled with
    them, probably by accident. The compat win32 version now works just fine
    with shared.c.
    
    What the protocol does need are atomic operations that synchronize
    processes sharing the cache. The dummy backed is excluded, we need
    working atomic operations even in single-threaded build. However small,
    such configuration is, every relevant target should have stdatomic
    available anyway.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 472f04de76..d2f6b89b22 100755
--- a/configure
+++ b/configure
@@ -4082,7 +4082,8 @@ schannel_conflict="openssl gnutls libtls mbedtls"
 sctp_protocol_deps="struct_sctp_event_subscribe struct_msghdr_msg_flags"
 sctp_protocol_select="network"
 securetransport_conflict="openssl gnutls libtls mbedtls"
-shared_protocol_deps="mmap stdatomic unistd_h"
+shared_protocol_deps="mmap unistd_h"
+shared_protocol_deps_any="stdatomic atomics_native"
 srtp_protocol_select="rtp_protocol srtp"
 tcp_protocol_select="network"
 tls_protocol_deps_any="gnutls openssl schannel securetransport libtls mbedtls"

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