[vlc-devel] [PATCH 4/6] rtsp: don't preparse

Thomas Guillem thomas at gllm.fr
Sun Jun 5 10:56:13 CEST 2016


---
 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 )
-- 
2.8.1



More information about the vlc-devel mailing list