Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
53cf65e4
Commit
53cf65e4
authored
Feb 20, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SAP protocol/format parsing
parent
5b3d57bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+2
-2
No files found.
modules/services_discovery/sap.c
View file @
53cf65e4
...
...
@@ -874,7 +874,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
return
VLC_ENOMEM
;
char
*
subtype
=
strchr
(
sdp_proto
,
' '
);
if
(
s
dp_proto
==
NULL
)
if
(
s
ubtype
==
NULL
)
{
msg_Dbg
(
p_obj
,
"missing SDP media subtype: %s"
,
sdp_proto
);
p_sdp
->
i_media_type
=
0
;
...
...
@@ -901,7 +901,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
uint8_t
flags
=
0
;
for
(
const
char
*
proto
=
proto_match
;
*
proto
;)
{
if
(
strcasecmp
(
proto
,
sdp_proto
))
if
(
strcasecmp
(
proto
,
sdp_proto
)
==
0
)
{
vlc_proto
=
proto
+
strlen
(
proto
)
+
1
;
flags
=
vlc_proto
[
strlen
(
vlc_proto
)
+
1
];
...
...
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