Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC
Commits
6d65ec65
Commit
6d65ec65
authored
Jan 22, 2023
by
François Cartegnie
🤞
Committed by
Steve Lhomme
Jan 24, 2023
Browse files
demux: adaptive: fix bogus port discarding condition
parent
adde4af8
Pipeline
#306360
passed with stages
in 48 minutes and 43 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
modules/demux/adaptive/http/ConnectionParams.cpp
View file @
6d65ec65
...
...
@@ -70,8 +70,8 @@ void ConnectionParams::setPath(const std::string &path_)
if
(
!
hostname
.
empty
())
{
url_components
.
psz_host
=
const_cast
<
char
*>
(
hostname
.
c_str
());
if
((
port
!=
80
&&
scheme
!
=
"http"
)
||
(
port
!=
443
&&
scheme
!
=
"https"
))
if
((
port
!=
80
&&
scheme
=
=
"http"
)
||
(
port
!=
443
&&
scheme
=
=
"https"
))
url_components
.
i_port
=
port
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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