[vlc-devel] commit: skins2: forgotten initialization ( can lead to crashes when no video controls is available) (Erwan Tulou )

git version control git at videolan.org
Mon Aug 24 18:51:14 CEST 2009


vlc | branch: 1.0-bugfix | Erwan Tulou <erwan10 at videolan.org> | Mon Aug 24 18:44:17 2009 +0200| [2869c4737f279c87a1ea7d282981e56f7e2c1dc1] | committer: Erwan Tulou 

skins2: forgotten initialization (can lead to crashes when no video controls is available)

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

 modules/gui/skins2/src/vout_window.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/skins2/src/vout_window.cpp b/modules/gui/skins2/src/vout_window.cpp
index 830e06f..8841360 100644
--- a/modules/gui/skins2/src/vout_window.cpp
+++ b/modules/gui/skins2/src/vout_window.cpp
@@ -35,7 +35,7 @@ VoutWindow::VoutWindow( intf_thread_t *pIntf, vout_thread_t* pVout,
                         int width, int height, GenericWindow* pParent ) :
       GenericWindow( pIntf, 0, 0, false, false, pParent ),
       m_pVout( pVout ), original_width( width ), original_height( height ),
-      m_pParentWindow( pParent ), m_pImage( NULL )
+      m_pParentWindow( pParent ), m_pCtrlVideo( NULL ), m_pImage( NULL )
 {
     // counter for debug
     count++;




More information about the vlc-devel mailing list