[vlc-commits] rtsp: don't preparse

Thomas Guillem git at videolan.org
Sun Jun 5 13:02:15 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Sat Jun  4 17:46:34 2016 +0200| [37498e7470cbc82832a9910fa73bdf04003af61e] | committer: Thomas Guillem

rtsp: don't preparse

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

 modules/access/rtsp/access.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/access/rtsp/access.c b/modules/access/rtsp/access.c
index 858cdad..d0eb699 100644
--- a/modules/access/rtsp/access.c
+++ b/modules/access/rtsp/access.c
@@ -148,6 +148,9 @@ static int Open( vlc_object_t *p_this )
     char* psz_server = NULL;
     int i_result;
 
+    if( p_access->b_preparsing )
+        return VLC_EGENERIC;
+
     /* Discard legacy username/password syntax - not supported */
     const char *psz_location = strchr( p_access->psz_location, '@' );
     if( psz_location != NULL )



More information about the vlc-commits mailing list