]> git.sesse.net Git - vlc/commitdiff
dvdnav: use decoded path
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 11 May 2010 14:55:15 +0000 (17:55 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 11 May 2010 14:55:15 +0000 (17:55 +0300)
modules/access/dvdnav.c

index b8d4eb6ed5af805577e6e494cddf98ae951c0be0..e7c24fb3659c89ee08f358fffd11e69b0db69e7b 100644 (file)
@@ -37,6 +37,7 @@
 #include <vlc_demux.h>
 #include <vlc_charset.h>
 #include <vlc_fs.h>
+#include <vlc_url.h>
 
 #include <vlc_dialog.h>
 
@@ -203,6 +204,7 @@ static int Open( vlc_object_t *p_this )
         *(psz_name + strlen(psz_name) - 1) = '\0';
     }
 #endif
+    decode_URI( psz_name );
 
     /* Try some simple probing to avoid going through dvdnav_open too often */
     if( ProbeDVD( p_demux, psz_name ) != VLC_SUCCESS )