[vlc-commits] input: remove write-only, unsafe and deprecated b_dead flag

Rémi Denis-Courmont git at videolan.org
Sat Oct 29 17:04:47 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 29 18:03:02 2016 +0300| [7bc29a257a732099abee2d67f1b5179da5d0484e] | committer: Rémi Denis-Courmont

input: remove write-only, unsafe and deprecated b_dead flag

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

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

diff --git a/include/vlc_input.h b/include/vlc_input.h
index 5ad04e0..16819f7 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -231,7 +231,6 @@ struct input_thread_t
     VLC_COMMON_MEMBERS
 
     bool b_preparsing;
-    bool b_dead VLC_DEPRECATED;
 
     /* All other data is input_thread is PRIVATE. You can't access it
      * outside of src/input */
diff --git a/src/input/event.c b/src/input/event.c
index 456c4d7..e5fa88f 100644
--- a/src/input/event.c
+++ b/src/input/event.c
@@ -51,8 +51,6 @@ static void VarListSelect( input_thread_t *,
  *****************************************************************************/
 void input_SendEventDead( input_thread_t *p_input )
 {
-    p_input->b_dead = true;
-
     Trigger( p_input, INPUT_EVENT_DEAD );
 }
 



More information about the vlc-commits mailing list