[vlc-commits] chromecast: remove dead code
Rémi Denis-Courmont
git at videolan.org
Wed Mar 4 21:19:41 CET 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 3 23:15:33 2020 +0200| [714c91a54fcb46623e79909445d9d44973af7802] | committer: Rémi Denis-Courmont
chromecast: remove dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=714c91a54fcb46623e79909445d9d44973af7802
---
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;
More information about the vlc-commits
mailing list