From: Laurent Aimar Date: Sun, 27 May 2007 22:18:37 +0000 (+0000) Subject: Do not unset b_seekable on 401 error. X-Git-Tag: 0.9.0-test0~7223 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6b34b9ee3c89708dd39419c4af39ec8600510be0;p=vlc Do not unset b_seekable on 401 error. --- diff --git a/modules/access/http.c b/modules/access/http.c index 8d3bcfd705..46ed5a95e6 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -1016,7 +1016,7 @@ static int Request( access_t *p_access, int64_t i_tell ) { p_sys->b_seekable = VLC_FALSE; } - if( p_sys->i_code != 206 ) + if( p_sys->i_code != 206 && p_sys->i_code != 401 ) { p_sys->b_seekable = VLC_FALSE; }