[vlc-commits] stream_demux: remove dead code
    Rémi Denis-Courmont 
    git at videolan.org
       
    Tue Sep  1 20:35:34 CEST 2015
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Sep  1 17:48:53 2015 +0300| [926f43ab497f6ecb607168009d4d8325c9b76756] | committer: Rémi Denis-Courmont
stream_demux: remove dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=926f43ab497f6ecb607168009d4d8325c9b76756
---
 src/input/stream_demux.c |    5 -----
 1 file changed, 5 deletions(-)
diff --git a/src/input/stream_demux.c b/src/input/stream_demux.c
index 2cb52ba..a67c031 100644
--- a/src/input/stream_demux.c
+++ b/src/input/stream_demux.c
@@ -185,11 +185,6 @@ static ssize_t DStreamRead( stream_t *s, void *buf, size_t len )
     if( block == NULL )
     {
         block = block_FifoGet( sys->p_fifo );
-        if( block == NULL )
-        {
-            s->b_error = true;
-            return -1;
-        }
         sys->p_block = block;
     }
 
    
    
More information about the vlc-commits
mailing list