[vlc-devel] commit: live555: remove broken obsolete work-around (Pierre Ynard )
git version control
git at videolan.org
Sat Jan 23 18:36:13 CET 2010
vlc-1.0-bugfix | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Jan 20 19:02:28 2010 +0100| [44f32c776da5e4e3e071e3adaf388d16946da9fa] | committer: Pierre Ynard
live555: remove broken obsolete work-around
This can't be useful anymore, otherwise connections would always
fail... and it was preventing VLC from prompting the user for
authentication credentials (untested).
(cherry picked from commit 403cd9fb823efca711d6313585dd07347aefb9da)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>
> http://git.videolan.org/gitweb.cgi/vlc-1.0-bugfix.git/?a=commit;h=44f32c776da5e4e3e071e3adaf388d16946da9fa
---
modules/demux/live555.cpp | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index fcca115..80a59a3 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -481,7 +481,6 @@ static int Connect( demux_t *p_demux )
{
demux_sys_t *p_sys = p_demux->p_sys;
Authenticator authenticator;
- bool b_firstpass = true;
char *psz_user = NULL;
char *psz_pwd = NULL;
char *psz_url = NULL;
@@ -608,14 +607,6 @@ describe:
}
msg_Dbg( p_demux, "DESCRIBE failed with %d: %s", i_code, psz_error );
- if( b_firstpass )
- { /* describeURL always returns an "RTSP/1.0 401 Unauthorized" the
- * first time. This is a workaround to avoid asking for a
- * user/passwd the first time the code passes here. */
- i_code = 0;
- b_firstpass = false;
- }
-
if( i_code == 401 )
{
msg_Dbg( p_demux, "authentication failed" );
More information about the vlc-devel
mailing list