diff options
author | Alexander Seiler <seileralex@gmail.com> | 2023-03-28 17:16:42 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-03-28 19:29:44 +0000 |
commit | bdf7b5c3b81033a61e218808a95fd3144f20d993 (patch) | |
tree | 619c4a9ad0da5c5c274d52c65d0e0bdc6306dbec /sub/filter_sdh.c | |
parent | 292a5868cb60c481ae9eaed7d21e67dcff41938f (diff) | |
download | mpv-bdf7b5c3b81033a61e218808a95fd3144f20d993.tar.bz2 mpv-bdf7b5c3b81033a61e218808a95fd3144f20d993.tar.xz |
various: fix various typos in the code base
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
Diffstat (limited to 'sub/filter_sdh.c')
-rw-r--r-- | sub/filter_sdh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sub/filter_sdh.c b/sub/filter_sdh.c index 23feaffa84..69fca9f892 100644 --- a/sub/filter_sdh.c +++ b/sub/filter_sdh.c @@ -238,7 +238,7 @@ static bool skip_bracketed(struct sd_filter *sd, char **rpp, struct buffer *buf) // 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) +static bool skip_parenthesized(struct sd_filter *sd, char **rpp, struct buffer *buf) { int filter_harder = sd->opts->sub_filter_SDH_harder; char *rp = *rpp; @@ -378,7 +378,7 @@ static char *filter_SDH(struct sd_filter *sd, char *data, int length, ptrdiff_t line_with_text = true; } } else if (rp[0] == '(') { - if (!skip_parenthesed(sd, &rp, buf)) { + if (!skip_parenthesized(sd, &rp, buf)) { append(sd, buf, rp[0]); rp++; line_with_text = true; |