Commit 06dad8d4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

PVR: decode PVR device node path

parent a932bff4
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_access.h> #include <vlc_access.h>
#include <vlc_fs.h> #include <vlc_fs.h>
#include <vlc_url.h>
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
...@@ -592,7 +593,7 @@ static int Open( vlc_object_t * p_this ) ...@@ -592,7 +593,7 @@ static int Open( vlc_object_t * p_this )
if( *psz_parser == '/' ) if( *psz_parser == '/' )
{ {
free( p_sys->psz_videodev ); free( p_sys->psz_videodev );
p_sys->psz_videodev = strdup( psz_parser ); p_sys->psz_videodev = decode_URI_duplicate( psz_parser );
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment