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 8d3bcfd..46ed5a9 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;
     }