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
ae5de69e
Commit
ae5de69e
authored
Apr 12, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Relax c= parsing so that it does not reject valid IPv6 announces
parent
106696e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+4
-8
No files found.
modules/services_discovery/sap.c
View file @
ae5de69e
...
@@ -960,16 +960,12 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
...
@@ -960,16 +960,12 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
psz_eof
=
strchr
(
psz_parse
,
'/'
);
psz_eof
=
strchr
(
psz_parse
,
'/'
);
if
(
psz_eof
)
if
(
psz_eof
)
{
*
psz_eof
=
'\0'
;
*
psz_eof
=
'\0'
;
}
else
if
(
p_sdp
->
i_in
==
6
)
{
msg_Dbg
(
p_obj
,
"incorrect c field, %s"
,
p_sdp
->
psz_connection
);
}
if
(
p_sdp
->
i_in
==
6
&&
(
isxdigit
(
*
psz_parse
)
||
*
psz_parse
==
':'
)
)
{
{
asprintf
(
&
psz_uri
,
"[%s]"
,
psz_parse
);
if
(
asprintf
(
&
psz_uri
,
"[%s]"
,
psz_parse
)
==
-
1
)
psz_uri
=
NULL
;
}
}
else
psz_uri
=
strdup
(
psz_parse
);
else
psz_uri
=
strdup
(
psz_parse
);
...
...
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