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
59f68250
Commit
59f68250
authored
Nov 16, 2006
by
Marian Durkovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declarations before code
parent
58e53b9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+2
-4
No files found.
modules/services_discovery/sap.c
View file @
59f68250
...
...
@@ -627,7 +627,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
static
int
ParseSAP
(
services_discovery_t
*
p_sd
,
uint8_t
*
p_buffer
,
int
i_read
)
{
int
i_version
,
i_address_type
,
i_hash
,
i
;
char
*
psz_sdp
,
*
psz_foo
,
*
psz_initial_sdp
;
char
*
psz_sdp
,
*
psz_foo
,
*
psz_initial_sdp
,
*
psz_end
;
uint8_t
*
p_decompressed_buffer
=
NULL
;
sdp_t
*
p_sdp
;
vlc_bool_t
b_compressed
;
...
...
@@ -686,8 +686,6 @@ static int ParseSAP( services_discovery_t *p_sd, uint8_t *p_buffer, int i_read )
}
}
char
*
psz_end
;
if
(
b_compressed
)
{
#ifdef HAVE_ZLIB_H
...
...
@@ -911,6 +909,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
char
*
psz_parse
=
NULL
;
char
*
psz_uri
=
NULL
;
char
*
psz_proto
=
NULL
;
char
psz_source
[
258
]
=
""
;
int
i_port
=
0
;
/* Parse c= field */
...
...
@@ -1064,7 +1063,6 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
/* handle SSM case */
psz_parse
=
GetAttribute
(
p_sdp
,
"source-filter"
);
char
psz_source
[
258
]
=
""
;
if
(
psz_parse
!=
NULL
)
{
char
psz_source_ip
[
256
];
...
...
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