diff --git a/src/input/mpegts/iptv/iptv_pipe.c b/src/input/mpegts/iptv/iptv_pipe.c index 2e37a6eb..c3abc55f 100644 --- a/src/input/mpegts/iptv/iptv_pipe.c +++ b/src/input/mpegts/iptv/iptv_pipe.c @@ -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) {