[libbluray-devel] commit: remove erroneous extra parameter to bd_mutex_init macro (john )

git at videolan.org git at videolan.org
Sat Sep 4 00:28:59 CEST 2010


libbluray | branch: master | john <john at anonymous.org> | Fri Sep  3 15:07:49 2010 -0700| [2aab1e728822c1cf8ce0683d02bd4bf99e2e7c7f] | committer: john 

remove erroneous extra parameter to bd_mutex_init macro

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=2aab1e728822c1cf8ce0683d02bd4bf99e2e7c7f
---

 src/util/mutex.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util/mutex.h b/src/util/mutex.h
index a242115..0e2adc7 100644
--- a/src/util/mutex.h
+++ b/src/util/mutex.h
@@ -48,7 +48,7 @@ typedef CRITICAL_SECTION BD_MUTEX;
 #define bd_mutex_trylock(m) \
   (TryEnterCriticalSection(m) ? 0 : EBUSY)
 
-#define bd_mutex_init(m, a) \
+#define bd_mutex_init(m) \
   (InitializeCriticalSection(m), 0)
 
 #define bd_mutex_destroy(m) \



More information about the libbluray-devel mailing list