[vlc-commits] demux: rar: set NO_INTERACT flags for probing

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:49:09 2014 +0900| [cbd645e461eb56b6ff4fcde56495b1fff8491d58] | committer: Francois Cartegnie

demux: rar: set NO_INTERACT flags for probing

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

 modules/access/rar/rar.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/access/rar/rar.c b/modules/access/rar/rar.c
index 2611c6f..52022db 100644
--- a/modules/access/rar/rar.c
+++ b/modules/access/rar/rar.c
@@ -400,8 +400,7 @@ int RarParse(stream_t *s, int *count, rar_file_t ***file, unsigned int *pi_nbvol
             return VLC_SUCCESS;
 
         const int s_flags = s->i_flags;
-        if (has_next < 0)
-            s->i_flags |= OBJECT_FLAGS_NOINTERACT;
+        s->i_flags |= OBJECT_FLAGS_NOINTERACT;
         vol = stream_UrlNew(s, volume_mrl);
         s->i_flags = s_flags;
 



More information about the vlc-commits mailing list