[vlc-commits] input: remove input_thread_t.b_eof

Rémi Denis-Courmont git at videolan.org
Fri Jun 5 21:34:07 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jun  5 22:08:04 2015 +0300| [3b6780d314a56a95546a08ee4ff725c0ae15b5d7] | committer: Rémi Denis-Courmont

input: remove input_thread_t.b_eof

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

 include/vlc_input.h |    1 -
 src/input/input.c   |    3 ---
 2 files changed, 4 deletions(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index 0ce44d8..748faaf 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -226,7 +226,6 @@ struct input_thread_t
     VLC_COMMON_MEMBERS
 
     bool b_error VLC_DEPRECATED;
-    bool b_eof VLC_DEPRECATED;
     bool b_preparsing;
     bool b_dead VLC_DEPRECATED;
 
diff --git a/src/input/input.c b/src/input/input.c
index d0fa645..a24bf7f 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -313,7 +313,6 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
     p_input->psz_header = psz_header ? strdup( psz_header ) : NULL;
 
     /* Init Common fields */
-    p_input->b_eof = false;
     p_input->p->b_can_pace_control = true;
     p_input->p->i_start = 0;
     p_input->p->i_time  = 0;
@@ -2816,8 +2815,6 @@ static void input_ChangeState( input_thread_t *p_input, int i_state )
     p_input->p->i_state = i_state;
     if( i_state == ERROR_S )
         p_input->b_error = true;
-    else if( i_state == END_S )
-        p_input->b_eof = true;
 
     if( b_changed )
     {



More information about the vlc-commits mailing list