mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
demux_subreader: make clang happy to fix warning
Clang warns here, probably because it's easy to confuse with the usual ((a=b)) pattern.
This commit is contained in:
@@ -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++; }
|
||||
|
||||
Reference in New Issue
Block a user