[vlc-commits] nfs: reset eof state on seek

Thomas Guillem git at videolan.org
Thu Apr 19 11:47:18 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Apr 19 11:47:04 2018 +0200| [a538c464cb3e9b84812fbe4ec3f80cb0d3ccda99] | committer: Thomas Guillem

nfs: reset eof state on seek

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

 modules/access/nfs.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/access/nfs.c b/modules/access/nfs.c
index 5a3aec20d8..0d01dd8426 100644
--- a/modules/access/nfs.c
+++ b/modules/access/nfs.c
@@ -261,6 +261,8 @@ FileSeek(stream_t *p_access, uint64_t i_pos)
     if (vlc_nfs_mainloop(p_access, nfs_seek_finished_cb) < 0)
         return VLC_EGENERIC;
 
+    p_sys->b_eof = false;
+
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list