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

Git pushed a commit to branch master
in repository ffmpeg.

commit 9856da099b3c56783891c0373b05c4675041f1b3
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Wed Sep 23 03:13:49 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Wed Sep 23 19:34:04 2026 +0000

    configure: update the win32 atomics backend check
    
    Nothing has called MemoryBarrier() since the backend rewrite. Check the
    _InterlockedOr directly and drop HAVE_MEMORYBARRIER which is not used
    anywhere.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 configure | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/configure b/configure
index 7117b7ed16..60aa50be94 100755
--- a/configure
+++ b/configure
@@ -2430,7 +2430,6 @@ ARCH_FEATURES="
 "
 
 BUILTIN_LIST="
-    MemoryBarrier
     mm_empty
     rdtsc
     sem_timedwait
@@ -3018,7 +3017,6 @@ valgrind_backtrace_conflict="optimizations"
 valgrind_backtrace_deps="valgrind_valgrind_h"
 
 # threading support
-atomics_win32_if="MemoryBarrier"
 atomics_os2_if="stdatomic"
 atomics_native_if_any="$ATOMICS_LIST"
 w32threads_deps="atomics_native"
@@ -6825,7 +6823,7 @@ if ! disabled network; then
     fi
 fi
 
-check_builtin MemoryBarrier windows.h "MemoryBarrier()"
+check_builtin atomics_win32 intrin.h "long v = 0; _InterlockedOr(&v, 0)"
 check_builtin gmtime_r time.h "time_t *time; struct tm *tm; gmtime_r(time, tm)"
 check_builtin localtime_r time.h "time_t *time; struct tm *tm; 
localtime_r(time, tm)"
 check_builtin int128 "" "volatile __int128 i128var = 1; i128var /= 100;"

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