git.videolan.org
/
vlc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xspf: try to produce valid XSPF files (there's still a problem with URI %-encoding)
[vlc.git]
/
modules
/
demux
/
playlist
/
xspf.c
diff --git
a/modules/demux/playlist/xspf.c
b/modules/demux/playlist/xspf.c
index
1bdf9e1
..
50c88bf
100644
(file)
--- a/
modules/demux/playlist/xspf.c
+++ b/
modules/demux/playlist/xspf.c
@@
-636,7
+636,9
@@
static vlc_bool_t set_item_info SIMPLE_INTERFACE
}
else if( !strcmp( psz_name, "image" ) )
{
- input_item_SetArtURL( p_input, psz_value );
+ const char *psz_uri = decode_URI_duplicate( psz_value );
+ input_item_SetArtURL( p_input, psz_uri );
+ free( psz_uri );
}
return VLC_TRUE;
}