[vlc-commits] live555: check demux_t.s to discriminate access_demux and demux

Rémi Denis-Courmont git at videolan.org
Sat Dec 2 22:26:45 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Dec  2 22:41:25 2017 +0200| [d3b04918a4e276a96c0f0eaa39a811f544c9d528] | committer: Rémi Denis-Courmont

live555: check demux_t.s to discriminate access_demux and demux

This is much simpler and more correct than checking the access
scheme.

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

 modules/access/live555.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index 741fda6e35..943f7f9247 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -384,7 +384,7 @@ static int  Open ( vlc_object_t *p_this )
         goto error;
     }
 
-    if( strcasecmp( p_demux->psz_access, "sdp" ) )
+    if( p_demux->s != NULL )
     {
         char *p = p_sys->psz_pl_url;
         while( (p = strchr( p, ' ' )) != NULL ) *p = '+';



More information about the vlc-commits mailing list