diff options
author | Cœur <coeur@gmx.fr> | 2022-04-25 19:27:18 +0800 |
---|---|---|
committer | Leo Izen <leo.izen@gmail.com> | 2022-04-25 09:07:18 -0400 |
commit | bb5b4b1ba61b67da40c85c34376aced9383fc366 (patch) | |
tree | b917b0ad45f31c1187c47424de4159cc28aa730f /sub/filter_sdh.c | |
parent | 6407095871b8f177996a6ec3ee9a8c4f06bd63ee (diff) | |
download | mpv-bb5b4b1ba61b67da40c85c34376aced9383fc366.tar.bz2 mpv-bb5b4b1ba61b67da40c85c34376aced9383fc366.tar.xz |
various: fix typos
Diffstat (limited to 'sub/filter_sdh.c')
-rw-r--r-- | sub/filter_sdh.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sub/filter_sdh.c b/sub/filter_sdh.c index 57193e4626..5da26b64ee 100644 --- a/sub/filter_sdh.c +++ b/sub/filter_sdh.c @@ -219,7 +219,7 @@ static bool skip_bracketed(struct sd_filter *sd, char **rpp, struct buffer *buf) return true; } -// check for paranthesed text, like (SOUND) +// check for parenthesized text, like (SOUND) // and skip it while preserving ass tags // normal subtitles may include mixed case text in parentheses so // only upper case is accepted and lower case l which for some @@ -233,9 +233,9 @@ static bool skip_bracketed(struct sd_filter *sd, char **rpp, struct buffer *buf) // scan in source string // the first character in source string must be the starting '(' // and copy ass tags to destination string but -// skipping paranthesed text if it looks like SDH +// skipping parenthesized text if it looks like SDH // -// return true if paranthesed text was removed. +// return true if parenthesized text was removed. // if not valid SDH read pointer and write buffer position will be unchanged // otherwise they point to next position after text and next write position static bool skip_parenthesed(struct sd_filter *sd, char **rpp, struct buffer *buf) @@ -413,7 +413,7 @@ static char *filter_SDH(struct sd_filter *sd, char *data, int length, ptrdiff_t } } } - // if no normal text i last line - remove last line + // if no normal text in last line - remove last line // by moving write pointer to start of last line if (!line_with_text) { buf->pos = wp_line_end; |