From: Pierre d'Herbemont Date: Tue, 12 Aug 2008 21:59:58 +0000 (+0200) Subject: sap: Fix thread prototype. X-Git-Tag: 0.9.0~418 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=aafa45bdc907464e0a4d6624233d8533edb51c05;p=vlc sap: Fix thread prototype. --- diff --git a/src/stream_output/sap.c b/src/stream_output/sap.c index 49b1c9f9fe..fc84ed7961 100644 --- a/src/stream_output/sap.c +++ b/src/stream_output/sap.c @@ -94,7 +94,7 @@ struct sap_session_t { /***************************************************************************** * Local prototypes *****************************************************************************/ -static void RunThread( vlc_object_t *p_this); +static void * RunThread( vlc_object_t *p_this); static int ComputeRate( sap_address_t *p_address ); static int announce_SendSAPAnnounce( sap_handler_t *p_sap, @@ -188,7 +188,7 @@ static void announce_SAPHandlerDestructor( vlc_object_t * p_this ) * \param p_this the SAP Handler object * \return nothing */ -static void RunThread( vlc_object_t *p_this) +static void * RunThread( vlc_object_t *p_this) { sap_handler_t *p_sap = (sap_handler_t*)p_this; sap_session_t *p_session; @@ -237,6 +237,7 @@ static void RunThread( vlc_object_t *p_this) msleep( SAP_IDLE ); } + return NULL; } /* Add a SAP announce */