vlc | branch: master | Rémi Denis-Courmont <[email protected]> | 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;
     }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to