Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
59f41e69
Commit
59f41e69
authored
Jun 22, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the previsous commit: if the user or the password is set in the url, use
it.
parent
a354b871
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/demux/live555.cpp
modules/demux/live555.cpp
+3
-3
No files found.
modules/demux/live555.cpp
View file @
59f41e69
...
...
@@ -460,15 +460,15 @@ static int Connect( demux_t *p_demux )
int
i_ret
=
VLC_SUCCESS
;
if
(
p_sys
->
url
.
i_port
==
0
)
p_sys
->
url
.
i_port
=
554
;
if
(
p_sys
->
url
.
psz_username
&&
p_sys
->
url
.
psz_password
)
if
(
p_sys
->
url
.
psz_username
||
p_sys
->
url
.
psz_password
)
{
int
err
;
err
=
asprintf
(
&
psz_url
,
"rtsp://%s:%d%s"
,
p_sys
->
url
.
psz_host
,
p_sys
->
url
.
i_port
,
p_sys
->
url
.
psz_path
);
if
(
err
==
-
1
)
return
VLC_ENOMEM
;
psz_user
=
strdup
(
p_sys
->
url
.
psz_username
);
psz_pwd
=
strdup
(
p_sys
->
url
.
psz_password
);
psz_user
=
strdup
(
p_sys
->
url
.
psz_username
?
p_sys
->
url
.
psz_username
:
""
);
psz_pwd
=
strdup
(
p_sys
->
url
.
psz_password
?
p_sys
->
url
.
psz_password
:
""
);
}
else
{
...
...
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