[vlc-commits] commit: PVR: decode PVR device node path ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Mon May 10 22:32:12 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon May 10 23:08:12 2010 +0300| [06dad8d48c87065404514f90fc2f019783f24452] | committer: Rémi Denis-Courmont
PVR: decode PVR device node path
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=06dad8d48c87065404514f90fc2f019783f24452
---
modules/access/pvr.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/access/pvr.c b/modules/access/pvr.c
index f044cec..b7d91e9 100644
--- a/modules/access/pvr.c
+++ b/modules/access/pvr.c
@@ -33,6 +33,7 @@
#include <vlc_plugin.h>
#include <vlc_access.h>
#include <vlc_fs.h>
+#include <vlc_url.h>
#include <sys/types.h>
#include <fcntl.h>
@@ -592,7 +593,7 @@ static int Open( vlc_object_t * p_this )
if( *psz_parser == '/' )
{
free( p_sys->psz_videodev );
- p_sys->psz_videodev = strdup( psz_parser );
+ p_sys->psz_videodev = decode_URI_duplicate( psz_parser );
break;
}
More information about the vlc-commits
mailing list