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
97a9763b
Commit
97a9763b
authored
Jun 20, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sap: remove bogus error return
parent
4e75bc06
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
include/vlc_sout.h
include/vlc_sout.h
+1
-1
src/missing.c
src/missing.c
+1
-1
src/stream_output/sap.c
src/stream_output/sap.c
+1
-3
No files found.
include/vlc_sout.h
View file @
97a9763b
...
...
@@ -223,7 +223,7 @@ VLC_API encoder_t * sout_EncoderCreate( vlc_object_t *obj );
* Announce handler
****************************************************************************/
VLC_API
session_descriptor_t
*
sout_AnnounceRegisterSDP
(
vlc_object_t
*
,
const
char
*
,
const
char
*
)
VLC_USED
;
VLC_API
int
sout_AnnounceUnRegister
(
vlc_object_t
*
,
session_descriptor_t
*
);
VLC_API
void
sout_AnnounceUnRegister
(
vlc_object_t
*
,
session_descriptor_t
*
);
#define sout_AnnounceRegisterSDP(o, sdp, addr) \
sout_AnnounceRegisterSDP(VLC_OBJECT (o), sdp, addr)
#define sout_AnnounceUnRegister(o, a) \
...
...
src/missing.c
View file @
97a9763b
...
...
@@ -264,7 +264,7 @@ session_descriptor_t *sout_AnnounceRegisterSDP (vlc_object_t *obj,
}
#undef sout_AnnounceUnRegister
int
sout_AnnounceUnRegister
(
vlc_object_t
*
obj
,
session_descriptor_t
*
d
)
void
sout_AnnounceUnRegister
(
vlc_object_t
*
obj
,
session_descriptor_t
*
d
)
{
VLC_UNUSED
(
obj
);
VLC_UNUSED
(
d
);
assert
(
0
);
...
...
src/stream_output/sap.c
View file @
97a9763b
...
...
@@ -377,9 +377,8 @@ sout_AnnounceRegisterSDP (vlc_object_t *obj, const char *sdp,
*
* \param obj a VLC object
* \param session the session descriptor
* \return VLC_SUCCESS
*/
int
sout_AnnounceUnRegister
(
vlc_object_t
*
obj
,
session_descriptor_t
*
session
)
void
sout_AnnounceUnRegister
(
vlc_object_t
*
obj
,
session_descriptor_t
*
session
)
{
sap_address_t
*
addr
,
**
paddr
;
session_descriptor_t
**
psession
;
...
...
@@ -426,5 +425,4 @@ found:
}
free
(
session
);
return
VLC_SUCCESS
;
}
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