iptv pipe: fix the backslash handling

This commit is contained in:
Jaroslav Kysela 2014-11-19 08:45:12 +01:00
parent 5df9cdf97d
commit 7743670045

View file

@ -57,11 +57,8 @@ iptv_pipe_start ( iptv_mux_t *im, const char *_raw, const url_t *url )
while (*s && *s != ' ') {
while (*s && *s != ' ' && *s != '\\')
s++;
if (*s == '\\') {
s++;
if (*s)
s++;
}
if (*s == '\\')
memmove(s, s + 1, strlen(s));
}
if (f != s) {
if (*s) {