Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
fdbd6574
Commit
fdbd6574
authored
Feb 09, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix handling of authorization
parent
394754a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/demux/live555.cpp
modules/demux/live555.cpp
+5
-5
No files found.
modules/demux/live555.cpp
View file @
fdbd6574
...
...
@@ -795,8 +795,7 @@ describe:
authenticator
.
setUsernameAndPassword
(
(
const
char
*
)
psz_user
,
(
const
char
*
)
psz_pwd
);
psz_options
=
p_sys
->
rtsp
->
sendOptionsCmd
(
psz_url
/*, psz_user, psz_pwd,
&authenticator*/
);
psz_options
=
p_sys
->
rtsp
->
sendOptionsCmd
(
psz_url
);
if
(
psz_options
)
delete
[]
psz_options
;
p_sdp
=
p_sys
->
rtsp
->
describeURL
(
psz_url
,
...
...
@@ -805,14 +804,15 @@ describe:
if
(
p_sdp
==
NULL
)
{
/* failure occurred */
int
i_code
=
0
;
u
int
i_code
=
0
;
const
char
*
psz_error
=
p_sys
->
env
->
getResultMsg
();
if
(
var_GetBool
(
p_demux
,
"rtsp-http"
)
)
sscanf
(
psz_error
,
"%*s %*s HTTP GET %*s HTTP/%*u.%*u %3u %*s"
,
&
i_code
);
else
sscanf
(
psz_error
,
"%*sRTSP/%*u.%*u %3u %*s"
,
&
i_code
);
msg_Dbg
(
p_demux
,
"DESCRIBE failed with %d: %s"
,
i_code
,
psz_error
);
else
sscanf
(
psz_error
,
"%*s %*s %*s %*s RTSP/%*u.%*u %3u %*s"
,
&
i_code
);
msg_Dbg
(
p_demux
,
"DESCRIBE failed with %d: [%s]"
,
i_code
,
psz_error
);
if
(
i_code
==
401
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment