[vlc-devel] commit: sap: Fix thread prototype. (Pierre d'Herbemont )
git version control
git at videolan.org
Wed Aug 13 00:54:35 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Tue Aug 12 23:59:58 2008 +0200| [aafa45bdc907464e0a4d6624233d8533edb51c05] | committer: Pierre d'Herbemont
sap: Fix thread prototype.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aafa45bdc907464e0a4d6624233d8533edb51c05
---
src/stream_output/sap.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/stream_output/sap.c b/src/stream_output/sap.c
index 49b1c9f..fc84ed7 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 */
More information about the vlc-devel
mailing list