[vlc-commits] eyetv: eof is always false, simplify

Rémi Denis-Courmont git at videolan.org
Wed Jul 20 23:06:54 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 19 21:11:17 2016 +0300| [8cdda638f2eb82052f47cda7c0316ac882a21ba3] | committer: Rémi Denis-Courmont

eyetv: eof is always false, simplify

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

 modules/access/eyetv.m |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/access/eyetv.m b/modules/access/eyetv.m
index 5655d7e..4d333c6 100644
--- a/modules/access/eyetv.m
+++ b/modules/access/eyetv.m
@@ -256,9 +256,6 @@ static block_t *BlockRead(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 = vlc_read_i11e(p_sys->eyetvSock, p_block->p_buffer, MTU);



More information about the vlc-commits mailing list