[vlc-devel] [PATCH 5/9] chromecast: remove dead code
RĂ©mi Denis-Courmont
remi at remlab.net
Tue Mar 3 22:37:20 CET 2020
---
modules/stream_out/chromecast/cast.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index ed83a333f2..944bde923f 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -317,7 +317,7 @@ static int ProxyOpen(vlc_object_t *p_this)
{
sout_stream_t *p_stream = reinterpret_cast<sout_stream_t*>(p_this);
sout_stream_sys_t *p_sys = (sout_stream_sys_t *) var_InheritAddress(p_this, SOUT_CFG_PREFIX "sys");
- if (p_sys == NULL || p_stream->p_next == NULL)
+ if (p_sys == NULL)
return VLC_EGENERIC;
p_stream->p_sys = (sout_stream_sys_t *) p_sys;
--
2.25.1
More information about the vlc-devel
mailing list