[vlc-commits] chromecast: the stream cannot work if the communication handler is NULL
Steve Lhomme
git at videolan.org
Wed Dec 23 20:28:28 CET 2015
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Dec 23 12:58:51 2015 +0100| [d6de56802104d0f21eac936daa558f7f13014bd6] | committer: Jean-Baptiste Kempf
chromecast: the stream cannot work if the communication handler is NULL
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d6de56802104d0f21eac936daa558f7f13014bd6
---
modules/stream_out/chromecast/cast.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 6fd0784..7302f9d 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -34,12 +34,15 @@
#include <vlc_sout.h>
#include <vlc_threads.h>
+#include <cassert>
+
struct sout_stream_sys_t
{
sout_stream_sys_t(intf_sys_t *intf)
: p_out(NULL)
, p_intf(intf)
{
+ assert(p_intf != NULL);
}
~sout_stream_sys_t()
More information about the vlc-commits
mailing list