[vlc-commits] Qt: fix uninitialized members

Hannes Domani git at videolan.org
Wed Oct 21 18:34:17 CEST 2015


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

Qt: fix uninitialized members

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit c5664c66c44f1081f80db06895b2fc8f6246b04e)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 e0b0b06..6ff18a6 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -716,6 +716,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