]> git.sesse.net Git - vlc/blobdiff - src/input/input.c
input: Remove input_DestroyThread() as it is now handled via vlc_object_release().
[vlc] / src / input / input.c
index 2ab3b0360e5037e90a04b59aaa425c3ed8f6bdad..2964d737bb5a77e76904fcd5baa94267757e617f 100644 (file)
@@ -478,22 +478,6 @@ sout_instance_t * input_DetachSout( input_thread_t *p_input )
     return p_input->p->p_sout;
 }
 
-/**
- * Clean up a dead input thread
- * This function does not return until the thread is effectively cancelled.
- *
- * \param the input thread to kill
- */
-void input_DestroyThread( input_thread_t *p_input )
-{
-    /* Join the thread */
-    vlc_thread_join( p_input );
-
-    /* */
-    vlc_object_detach( p_input );
-    vlc_object_release( p_input );
-}
-
 /*****************************************************************************
  * Run: main thread loop
  * This is the "normal" thread that spawns the input processing chain,