[vlc-commits] chromecast: fix missing initialization

Steve Lhomme git at videolan.org
Fri Mar 25 09:06:43 CET 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Mon Mar 21 18:28:58 2016 +0100| [6e0a6a14dbe152e602dab22a056e940daffbdd65] | committer: Jean-Baptiste Kempf

chromecast: fix missing initialization

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

 modules/stream_out/chromecast/chromecast_ctrl.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index d741b48..c7fce9b 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -242,6 +242,8 @@ void intf_sys_t::buildMessage(const std::string & namespace_,
 intf_sys_t::intf_sys_t(vlc_object_t * const p_this)
  : p_module(p_this)
  , receiverState(RECEIVER_IDLE)
+ , i_sock_fd(-1)
+ , p_creds(NULL)
  , p_tls(NULL)
  , conn_status(CHROMECAST_DISCONNECTED)
  , cmd_status(NO_CMD_PENDING)



More information about the vlc-commits mailing list