[vlc-commits] nfs: reset eof state on seek
Thomas Guillem
git at videolan.org
Thu Apr 19 11:48:22 CEST 2018
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Apr 19 11:47:04 2018 +0200| [fda23cac1e9b1352b7a452aba4c93247b257e772] | committer: Thomas Guillem
nfs: reset eof state on seek
(cherry picked from commit a538c464cb3e9b84812fbe4ec3f80cb0d3ccda99)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=fda23cac1e9b1352b7a452aba4c93247b257e772
---
modules/access/nfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/access/nfs.c b/modules/access/nfs.c
index 854e936160..29076e15eb 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