]> git.sesse.net Git - vlc/blobdiff - src/input/vlm.c
Fix threaded function declaration.
[vlc] / src / input / vlm.c
index 69148f604bccb2baff57c3585dca609f1662fc99..9e989427ebf19be986a2a28ae07ac3c05c92413a 100644 (file)
@@ -62,7 +62,7 @@
  *****************************************************************************/
 
 static void vlm_Destructor( vlm_t *p_vlm );
-static int Manage( vlc_object_t * );
+static void* Manage( vlc_object_t * );
 static int vlm_MediaVodControl( void *, vod_media_t *, const char *, int, va_list );
 
 /*****************************************************************************
@@ -302,7 +302,7 @@ static int vlm_MediaVodControl( void *p_private, vod_media_t *p_vod_media,
 /*****************************************************************************
  * Manage:
  *****************************************************************************/
-static int Manage( vlc_object_t* p_object )
+static void* Manage( vlc_object_t* p_object )
 {
     vlm_t *vlm = (vlm_t*)p_object;
     int i, j;
@@ -412,7 +412,7 @@ static int Manage( vlc_object_t* p_object )
         msleep( 100000 );
     }
 
-    return VLC_SUCCESS;
+    return NULL;
 }
 
 /* New API