diff options
author | wm4 <wm4@nowhere> | 2013-07-15 21:28:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-15 21:28:58 +0200 |
commit | 75dc7cbe0c3f8c2e4409f4939309598811d35155 (patch) | |
tree | b4311d05550df9b27d80a5b6c4cdba97ff2c8fe9 | |
parent | eb98e43c0f7bad6c7bf682570b0b41ff7759132a (diff) | |
download | mpv-75dc7cbe0c3f8c2e4409f4939309598811d35155.tar.bz2 mpv-75dc7cbe0c3f8c2e4409f4939309598811d35155.tar.xz |
demux_subreader: make clang happy to fix warning
Clang warns here, probably because it's easy to confuse with the usual
((a=b)) pattern.
-rw-r--r-- | demux/demux_subreader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_subreader.c b/demux/demux_subreader.c index 6cbea0d8ec..26fdfcb971 100644 --- a/demux/demux_subreader.c +++ b/demux/demux_subreader.c @@ -214,7 +214,7 @@ static subtitle *sub_read_line_sami(stream_t* st, subtitle *current, sami_add_line(current, text, &p); s += 4; } - else if ((*s == '{')) { state = 5; ++s; continue; } + else if (*s == '{') { state = 5; ++s; continue; } else if (*s == '<') { state = 4; } else if (!strncasecmp (s, " ", 6)) { *p++ = ' '; s += 6; } else if (*s == '\t') { *p++ = ' '; s++; } |