[vlc-devel] commit: upnpn_intel: Compilation fix. ( Rémi Duraffort )

git version control git at videolan.org
Mon Aug 25 20:02:20 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Aug 25 20:04:56 2008 +0200| [c7d6aad63acbb25785b77fdee040b095db2018e1] | committer: Rémi Duraffort 

upnpn_intel: Compilation fix.

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

 modules/services_discovery/upnp_intel.cpp |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/modules/services_discovery/upnp_intel.cpp b/modules/services_discovery/upnp_intel.cpp
index b05eef5..34b0636 100644
--- a/modules/services_discovery/upnp_intel.cpp
+++ b/modules/services_discovery/upnp_intel.cpp
@@ -88,6 +88,7 @@ class MediaServer;
 class MediaServerList;
 class Item;
 class Container;
+class Lockable;
 
 // Cookie that is passed to the callback
 
@@ -105,10 +106,14 @@ typedef struct
 class Lockable
 {
 public:
+    Lockable()
+    {
+        vlc_mutex_init( &_mutex );
+    }
 
     Lockable( Cookie* c )
     {
-    vlc_mutex_init( &_mutex );
+        Lockable();
     }
 
     ~Lockable()




More information about the vlc-devel mailing list