]> git.sesse.net Git - vlc/commitdiff
chromecast: initialize i_requestId
authorAdrien Maglo <magsoft@videolan.org>
Wed, 22 Oct 2014 10:07:08 +0000 (12:07 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 24 Oct 2014 13:51:35 +0000 (15:51 +0200)
This fix the random start fail of the module.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/stream_out/chromecast/cast.cpp

index 68931ca3d276b9ee8f6289496315768249ad3a9b..b9247d5e463452b372c3afd14572fbc17d4752c0 100644 (file)
@@ -73,7 +73,8 @@ enum
 struct sout_stream_sys_t
 {
     sout_stream_sys_t()
-        : p_tls(NULL), i_status(CHROMECAST_DISCONNECTED), p_out(NULL)
+        : p_tls(NULL), i_requestId(0),
+          i_status(CHROMECAST_DISCONNECTED), p_out(NULL)
     {
         atomic_init(&ab_error, false);
     }