[vlc-commits] input: fix pf_demux test again

Rémi Denis-Courmont git at videolan.org
Sat Jun 18 14:27:17 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jun 18 13:34:08 2016 +0300| [937150bc0f765d1d30e28bf0a19efa5eab344030] | committer: Rémi Denis-Courmont

input: fix pf_demux test again

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

 src/input/input.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index 50d603e..c5d0162 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -682,8 +682,6 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive )
                              var_InheritBool( p_input, "play-and-pause" );
 
     demux_t *p_demux = p_input->p->master->p_demux;
-    while (p_demux->p_next)
-        p_demux = p_demux->p_next;
     const bool b_can_demux = p_demux->pf_demux != NULL;
 
     while( !input_Stopped( p_input ) && p_input->p->i_state != ERROR_S )



More information about the vlc-commits mailing list