[vlc-devel] [PATCH] MKV : Fix access name check.

Jai Menon jmenon86 at gmail.com
Tue Jun 29 18:59:40 CEST 2010


---
 modules/demux/mkv/mkv.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index b797feb..b1abec9 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -141,7 +141,7 @@ static int Open( vlc_object_t * p_this )
     if (var_InheritBool( p_demux, "mkv-preload-local-dir" ))
     {
         /* get the files from the same dir from the same family (based on p_demux->psz_path) */
-        if (p_demux->psz_path[0] != '\0' && !strcmp(p_demux->psz_access, ""))
+        if (p_demux->psz_path[0] != '\0' && !strcmp(p_demux->psz_access, "file"))
         {
             // assume it's a regular file
             // get the directory path
-- 
1.7.1




More information about the vlc-devel mailing list