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

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

Reply via email to