[vlc-commits] input: fix inverted check

Rémi Denis-Courmont git at videolan.org
Thu Jun 16 23:21:01 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jun 17 00:00:37 2016 +0300| [a5cfe8b46dd45418a834942400ba92ad6b1f5877] | committer: Rémi Denis-Courmont

input: fix inverted check

Regression from 2237ed701d61620ea64851ff597a02be39c1c870.

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

 src/input/input.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/input.c b/src/input/input.c
index ff287fd..cbe1f5f 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2332,7 +2332,7 @@ static input_source_t *InputSourceNew( input_thread_t *p_input,
         p_demux = p_demux->p_next;
     assert( p_demux->pf_demux != NULL || !in->b_can_pace_control );
 
-    if( p_demux->s != NULL )
+    if( p_demux->s == NULL )
     {
         if( !in->b_can_pace_control )
         {



More information about the vlc-commits mailing list