Commit 735ec223 authored by Laurent Aimar's avatar Laurent Aimar

Fixed rar stream_filter generated playlist.

The items url where not complete.
parent 21bb2451
......@@ -104,8 +104,13 @@ static int Open(vlc_object_t *object)
* Reusing WriteXSPF from the zip access is probably a good idea
* (becareful about '\' and '/'.
char *mrl;
if (asprintf(&mrl, "%s://%s", s->psz_access, s->psz_path)< 0)
mrl = NULL;
char *base;
char *encoded = encode_URI_component(s->psz_path);
char *encoded = mrl ? encode_URI_component(mrl) : NULL;
if (!encoded || asprintf(&base, "rar://%s", encoded) < 0)
base = NULL;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment