Commit 97a9763b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

sap: remove bogus error return

parent 4e75bc06
......@@ -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) \
......
......@@ -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);
......
......@@ -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;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment