[vlc-commits] udp: remove impossible case
    Rémi Denis-Courmont 
    git at videolan.org
       
    Tue Apr 30 16:53:40 CEST 2013
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Apr 30 17:53:21 2013 +0300| [4c654c6a41d2fedb68a409be43205797ba7b4993] | committer: Rémi Denis-Courmont
udp: remove impossible case
EOF is never set in this plugin.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c654c6a41d2fedb68a409be43205797ba7b4993
---
 modules/access/udp.c |    3 ---
 1 file changed, 3 deletions(-)
diff --git a/modules/access/udp.c b/modules/access/udp.c
index 6818ef3..08db9d1 100644
--- a/modules/access/udp.c
+++ b/modules/access/udp.c
@@ -202,9 +202,6 @@ static block_t *BlockUDP( access_t *p_access )
     block_t      *p_block;
     ssize_t len;
 
-    if( p_access->info.b_eof )
-        return NULL;
-
     /* Read data */
     p_block = block_Alloc( MTU );
     len = net_Read( p_access, (intptr_t)p_sys, NULL,
    
    
More information about the vlc-commits
mailing list