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

Git pushed a commit to branch master
in repository ffmpeg.

commit 23045b25ed1e6c8422fa84397e5f64d5a5fb30ec
Author:     Zhao Zhili <[email protected]>
AuthorDate: Sat Oct 17 14:14:00 2026 +0800
Commit:     Zhao Zhili <[email protected]>
CommitDate: Wed Oct 21 17:37:13 2026 +0000

    compat/w32pthreads: drop the cancellation stubs
    
    0830e9116f added pthread_setcancelstate() and the PTHREAD_CANCEL_*
    values for the udp receive thread, which is no longer cancelled and
    does not call them. No other file refers to them.
    
    Signed-off-by: Zhao Zhili <[email protected]>
---
 compat/w32pthreads.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/compat/w32pthreads.h b/compat/w32pthreads.h
index d39d3dc428..548c6085e9 100644
--- a/compat/w32pthreads.h
+++ b/compat/w32pthreads.h
@@ -63,9 +63,6 @@ typedef CONDITION_VARIABLE pthread_cond_t;
 #define InitializeCriticalSection(x) InitializeCriticalSectionEx(x, 0, 0)
 #define WaitForSingleObject(a, b) WaitForSingleObjectEx(a, b, FALSE)
 
-#define PTHREAD_CANCEL_ENABLE 1
-#define PTHREAD_CANCEL_DISABLE 0
-
 #if HAVE_WINRT
 #define THREADFUNC_RETTYPE DWORD
 #else
@@ -210,11 +207,6 @@ static inline int pthread_cond_signal(pthread_cond_t *cond)
     return 0;
 }
 
-static inline int pthread_setcancelstate(int state, int *oldstate)
-{
-    return 0;
-}
-
 static inline int win32_thread_setname(const char *name)
 {
 #if !HAVE_UWP

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