diff options
Diffstat (limited to 'sub/filter_jsre.c')
-rw-r--r-- | sub/filter_jsre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/filter_jsre.c b/sub/filter_jsre.c index f956000d55..fb711814e3 100644 --- a/sub/filter_jsre.c +++ b/sub/filter_jsre.c @@ -115,7 +115,7 @@ static struct demux_packet *jsre_filter(struct sd_filter *ft, bool drop = false; if (ft->opts->rf_plain) - sd_ass_to_plaintext(text, strlen(text), text); + sd_ass_to_plaintext(&text, text); for (int n = 0; n < p->num_regexes; n++) { int found, err = p_regexec(p->J, n, text, &found); |