Commit 7c3b53ad authored by Geoffroy Couprie's avatar Geoffroy Couprie

destroy the critical section in libdvdnav

parent 1a23bfc1
...@@ -46,3 +46,16 @@ Index: Makefile.am ...@@ -46,3 +46,16 @@ Index: Makefile.am
EXTRA_DIST = autogen.sh \ EXTRA_DIST = autogen.sh \
AUTHORS \ AUTHORS \
Index: src/dvdnav_internal.h
===================================================================
--- src/dvdnav_internal.h (revision 1136)
+++ src/dvdnav_internal.h working copy)
@@ -37,7 +37,7 @@
#define pthread_mutex_init(a, b) InitializeCriticalSection(a)
#define pthread_mutex_lock(a) EnterCriticalSection(a)
#define pthread_mutex_unlock(a) LeaveCriticalSection(a)
-#define pthread_mutex_destroy(a)
+#define pthread_mutex_destroy(a) DeleteCriticalSection(a)
/* replacement gettimeofday implementation */
#include <sys/timeb.h>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment