[vlc-commits] rtsp: remove tautology
Rémi Denis-Courmont
git at videolan.org
Wed Apr 27 21:07:02 CEST 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 27 22:06:51 2016 +0300| [460859370ae825456564ef66a47504575e25f5e7] | committer: Rémi Denis-Courmont
rtsp: remove tautology
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=460859370ae825456564ef66a47504575e25f5e7
---
modules/access/rtsp/access.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/modules/access/rtsp/access.c b/modules/access/rtsp/access.c
index dd3409e..858cdad 100644
--- a/modules/access/rtsp/access.c
+++ b/modules/access/rtsp/access.c
@@ -148,13 +148,6 @@ static int Open( vlc_object_t *p_this )
char* psz_server = NULL;
int i_result;
- if( strncmp( p_access->psz_access, "rtsp", 4 ) &&
- strncmp( p_access->psz_access, "pnm", 3 ) &&
- strncmp( p_access->psz_access, "realrtsp", 8 ) )
- {
- 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