[vlc-devel] commit: destroy the critical section in libdvdnav (Geoffroy Couprie )

git version control git at videolan.org
Thu Sep 11 13:30:23 CEST 2008


vlc | branch: master | Geoffroy Couprie <geo.couprie at gmail.com> | Thu Sep 11 13:33:22 2008 +0200| [7c3b53ad4c27f8e7264a5b39af1f897417295c0d] | committer: Geoffroy Couprie 

destroy the critical section in libdvdnav

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7c3b53ad4c27f8e7264a5b39af1f897417295c0d
---

 extras/contrib/src/Patches/libdvdnav.patch |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/extras/contrib/src/Patches/libdvdnav.patch b/extras/contrib/src/Patches/libdvdnav.patch
index 621da1b..11a5bea 100644
--- a/extras/contrib/src/Patches/libdvdnav.patch
+++ b/extras/contrib/src/Patches/libdvdnav.patch
@@ -46,3 +46,16 @@ Index: Makefile.am
  
  EXTRA_DIST = autogen.sh \
  	     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




More information about the vlc-devel mailing list