[vlc-commits] http: allow seeking after failed seek

Rémi Denis-Courmont git at videolan.org
Thu Jul 21 21:30:15 CEST 2016


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

http: allow seeking after failed seek

This is not used in practice, but no point adding code to prevent
something that could work.

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

 modules/access/http.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index 94bbfca..c7162ac 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -661,7 +661,6 @@ static int Seek( access_t *p_access, uint64_t i_pos )
     if( Connect( p_access, i_pos ) )
     {
         msg_Err( p_access, "seek failed" );
-        p_access->info.b_eof = true;
         return VLC_EGENERIC;
     }
     return VLC_SUCCESS;



More information about the vlc-commits mailing list