[vlc-commits] access: archive: set NO_INTERACT flag

Francois Cartegnie git at videolan.org
Fri Aug 1 04:18:32 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Aug  1 10:50:59 2014 +0900| [b2a2959249c8aec30a1a00ea0c609d06cd6f3082] | committer: Francois Cartegnie

access: archive: set NO_INTERACT flag

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

 modules/access/archive/access.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/access/archive/access.c b/modules/access/archive/access.c
index d8e0bc7..6a4fca4 100644
--- a/modules/access/archive/access.c
+++ b/modules/access/archive/access.c
@@ -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;



More information about the vlc-commits mailing list