[vlc-commits] fix input_Close return type

Sébastien Escudier git at videolan.org
Wed May 25 14:54:02 CEST 2011


vlc | branch: master | Sébastien Escudier <sebastien-devel at celeos.eu> | Wed May 25 14:50:22 2011 +0200| [0697b6e33322c89aa48f9ad6c6bb3f71c2a0eb36] | committer: Sébastien Escudier

fix input_Close return type

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0697b6e33322c89aa48f9ad6c6bb3f71c2a0eb36
---

 include/vlc_input.h |    2 +-
 src/input/input.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index 455241a..8f64c25 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -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
diff --git a/src/input/input.c b/src/input/input.c
index 2150907..96b72d1 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -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 );



More information about the vlc-commits mailing list