diff --git a/src/input/mpegts/iptv/iptv_pipe.c b/src/input/mpegts/iptv/iptv_pipe.c index c3abc55f..0595eec0 100644 --- a/src/input/mpegts/iptv/iptv_pipe.c +++ b/src/input/mpegts/iptv/iptv_pipe.c @@ -57,8 +57,11 @@ iptv_pipe_start ( iptv_mux_t *im, const char *_raw, const url_t *url ) while (*s && *s != ' ') { while (*s && *s != ' ' && *s != '\\') s++; - if (*s == '\\') + if (*s == '\\') { memmove(s, s + 1, strlen(s)); + if (*s) + s++; + } } if (f != s) { if (*s) {