]> git.sesse.net Git - vlc/commitdiff
access: archive: set NO_INTERACT flag
authorFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 1 Aug 2014 01:50:59 +0000 (10:50 +0900)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 1 Aug 2014 02:17:44 +0000 (11:17 +0900)
modules/access/archive/access.c

index d8e0bc7c8173b590142bcedcd077afb0037ddff7..6a4fca474b5c192db9ca30acdd0f44a471ef4533 100644 (file)
@@ -120,8 +120,10 @@ static int FindVolumes(access_t *p_access, struct archive *p_archive, const char
                     break;
 
                 /* Probe URI */
-                /* FIXME: no warnings ! */
+                int i_savedflags = p_access->i_flags;
+                p_access->i_flags |= OBJECT_FLAGS_NOINTERACT;
                 stream_t *p_stream = stream_UrlNew(p_access, psz_newuri);
+                p_access->i_flags = i_savedflags;
                 if (p_stream)
                 {
                     ppsz_files[*pi_files] = psz_newuri;