]> git.sesse.net Git - vlc/commitdiff
fix input_Close return type
authorSébastien Escudier <sebastien-devel@celeos.eu>
Wed, 25 May 2011 12:50:22 +0000 (14:50 +0200)
committerSébastien Escudier <sebastien-devel@celeos.eu>
Wed, 25 May 2011 12:50:22 +0000 (14:50 +0200)
include/vlc_input.h
src/input/input.c

index 455241a41ec763cd33c5db5613b9ed12dc0acef2..8f64c25fc3b1b0fbfa961dcce0b1bfed5f105cc8 100644 (file)
@@ -543,7 +543,7 @@ VLC_API int input_vaControl( input_thread_t *, int i_query, va_list  );
 
 VLC_API int input_Control( input_thread_t *, int i_query, ...  );
 
-VLC_API int input_Close( input_thread_t * );
+VLC_API void input_Close( input_thread_t * );
 
 /**
  * Get the input item for an input thread
index 21509079ad9a4107d1d20c96b22e4c448594b2eb..96b72d1503691e93eba46390dc3bb99a38719d8e 100644 (file)
@@ -257,7 +257,7 @@ void input_Stop( input_thread_t *p_input, bool b_abort )
  *
  * It does not call input_Stop itself.
  */
-int input_Close( input_thread_t *p_input )
+void input_Close( input_thread_t *p_input )
 {
     if( p_input->p->is_running )
         vlc_join( p_input->p->thread, NULL );