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
caf669c9
Commit
caf669c9
authored
Feb 09, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few warnings
parent
c3bc9e66
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
src/stream_output/sap.c
src/stream_output/sap.c
+1
-1
src/stream_output/sdp.c
src/stream_output/sdp.c
+2
-0
src/stream_output/stream_output.h
src/stream_output/stream_output.h
+5
-0
No files found.
src/stream_output/sap.c
View file @
caf669c9
...
@@ -391,7 +391,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
...
@@ -391,7 +391,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
}
p_address
->
psz_address
=
strdup
(
psz_addr
);
p_address
->
psz_address
=
strdup
(
psz_addr
);
p_address
->
i_wfd
=
net_ConnectUDP
(
p_sap
,
psz_addr
,
SAP_PORT
,
255
);
p_address
->
i_wfd
=
net_ConnectUDP
(
VLC_OBJECT
(
p_sap
)
,
psz_addr
,
SAP_PORT
,
255
);
if
(
p_address
->
i_wfd
!=
-
1
)
if
(
p_address
->
i_wfd
!=
-
1
)
{
{
char
*
ptr
;
char
*
ptr
;
...
...
src/stream_output/sdp.c
View file @
caf669c9
...
@@ -27,6 +27,8 @@
...
@@ -27,6 +27,8 @@
# include <vlc_network.h>
# include <vlc_network.h>
# include <vlc_charset.h>
# include <vlc_charset.h>
# include "stream_output.h"
# define MAXSDPADDRESS 47
# define MAXSDPADDRESS 47
static
static
...
...
src/stream_output/stream_output.h
View file @
caf669c9
...
@@ -101,3 +101,8 @@ int announce_UnRegister( announce_handler_t *p_announce,
...
@@ -101,3 +101,8 @@ int announce_UnRegister( announce_handler_t *p_announce,
sap_handler_t
*
announce_SAPHandlerCreate
(
announce_handler_t
*
p_announce
);
sap_handler_t
*
announce_SAPHandlerCreate
(
announce_handler_t
*
p_announce
);
void
announce_SAPHandlerDestroy
(
sap_handler_t
*
p_sap
);
void
announce_SAPHandlerDestroy
(
sap_handler_t
*
p_sap
);
char
*
StartSDP
(
const
char
*
name
,
const
struct
sockaddr
*
orig
,
socklen_t
origlen
,
const
struct
sockaddr
*
addr
,
socklen_t
addrlen
);
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