]> git.sesse.net Git - vlc/commitdiff
sap: Fix thread prototype.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 12 Aug 2008 21:59:58 +0000 (23:59 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 12 Aug 2008 22:57:25 +0000 (00:57 +0200)
src/stream_output/sap.c

index 49b1c9f9feb7ab484f038401365d2a4b0f240665..fc84ed7961da53971473514cbc762f17ca68fb82 100644 (file)
@@ -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 */