[vlc-commits] Fix uninitialized media size

Ludovic Fauvet git at videolan.org
Fri Dec 21 19:39:25 CET 2012


npapi-vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Thu Dec 20 21:09:15 2012 +0100| [18d5a23d27976ac50dbb0342bbb5c2d8c1d20551] | committer: Ludovic Fauvet

Fix uninitialized media size

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

 npapi/vlcplugin_base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/npapi/vlcplugin_base.cpp b/npapi/vlcplugin_base.cpp
index dc9f9c7..060607c 100644
--- a/npapi/vlcplugin_base.cpp
+++ b/npapi/vlcplugin_base.cpp
@@ -536,7 +536,7 @@ bool VlcPluginBase::canUseEventListener()
 
 #ifdef WINDOWLESS
 VlcWindowlessBase::VlcWindowlessBase(NPP instance, NPuint16_t mode) :
-    VlcPluginBase(instance, mode)
+    VlcPluginBase(instance, mode), m_media_width(0), m_media_height(0)
 {
 }
 



More information about the vlc-commits mailing list