[vlc-commits] Qt: fix uninitialized members

Hannes Domani git at videolan.org
Thu Jul 30 00:32:52 CEST 2015


vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Fri Jul 24 16:59:51 2015 +0200| [c5664c66c44f1081f80db06895b2fc8f6246b04e] | committer: Jean-Baptiste Kempf

Qt: fix uninitialized members

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt4/components/open_panels.cpp |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 9e89780..6625a5c 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -723,6 +723,10 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
                                 OpenPanel( _parent, _p_intf )
 {
     isInitialized = false;
+#ifdef _WIN32
+    vdevDshowW = NULL;
+    adevDshowW = NULL;
+#endif
 }
 
 void CaptureOpenPanel::initialize()



More information about the vlc-commits mailing list