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

Francois Cartegnie git at videolan.org
Sat Aug 2 22:29:52 CEST 2014


vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Aug  1 10:49:09 2014 +0900| [7014a4c127223322f848cddb5c749e7289302bda] | committer: Jean-Baptiste Kempf

demux: rar: set NO_INTERACT flags for probing

(cherry picked from commit cbd645e461eb56b6ff4fcde56495b1fff8491d58)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 c644c4a..3edb793 100644
--- a/modules/access/rar/rar.c
+++ b/modules/access/rar/rar.c
@@ -397,8 +397,7 @@ int RarParse(stream_t *s, int *count, rar_file_t ***file, bool b_extonly)
             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