[vlc-commits] commit: dvdnav: use decoded path (Ilkka Ollakka )

git at videolan.org git at videolan.org
Tue May 11 16:56:30 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue May 11 17:55:15 2010 +0300| [9be49a57305de3504ecc53b60e3574ce876fab8c] | committer: Ilkka Ollakka 

dvdnav: use decoded path

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

 modules/access/dvdnav.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index b8d4eb6..e7c24fb 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -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 )



More information about the vlc-commits mailing list