Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
iptv pipe: skip the character after backslash
  • Loading branch information
perexg committed Nov 19, 2014
1 parent dbd31ac commit 1ddd261
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/input/mpegts/iptv/iptv_pipe.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 1ddd261

Please sign in to comment.