[vlc-commits] libvlc_media_new_path: allow UNC paths
Rémi Denis-Courmont
git at videolan.org
Tue Jun 11 17:36:49 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 10 22:15:45 2013 +0300| [d8a06f64e34cbcdc838db700f2f8c19c9625bef9] | committer: Rémi Denis-Courmont
libvlc_media_new_path: allow UNC paths
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d8a06f64e34cbcdc838db700f2f8c19c9625bef9
---
lib/media.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/media.c b/lib/media.c
index 120f0f4..2db45a3 100644
--- a/lib/media.c
+++ b/lib/media.c
@@ -313,7 +313,7 @@ libvlc_media_t *libvlc_media_new_location( libvlc_instance_t *p_instance,
libvlc_media_t *libvlc_media_new_path( libvlc_instance_t *p_instance,
const char *path )
{
- char *mrl = vlc_path2uri( path, "file" );
+ char *mrl = vlc_path2uri( path, NULL );
if( unlikely(mrl == NULL) )
{
libvlc_printerr( "Not enough memory" );
More information about the vlc-commits
mailing list