]> git.sesse.net Git - vlc/commitdiff
Do not unset b_seekable on 401 error.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 27 May 2007 22:18:37 +0000 (22:18 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 27 May 2007 22:18:37 +0000 (22:18 +0000)
modules/access/http.c

index 8d3bcfd705b1c5f598486642461b780d3509e544..46ed5a95e6d920b6226613da9e58eba1e9c26d8a 100644 (file)
@@ -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;
     }