summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-09-01 12:38:11 +0200
committerDamiano Galassi <[email protected]>2020-09-01 12:38:11 +0200
commit894ca21b1a52868456a61945dd653d70812093f5 (patch)
tree93b16fb501d5df7fafad1d39e3a2cbeab503678f /libhb
parent90c9465f00f3caaf65375c9fe72633640cf1c5e4 (diff)
libhb: fix off by one tx3g style record end position.
Diffstat (limited to 'libhb')
-rw-r--r--libhb/ssautil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/ssautil.c b/libhb/ssautil.c
index c1dfa2c34..23789e2fd 100644
--- a/libhb/ssautil.c
+++ b/libhb/ssautil.c
@@ -743,7 +743,7 @@ static int tx3g_update_style(hb_tx3g_style_context_t *ctx, int utf8_end_pos)
{
if (ctx->style_start < utf8_end_pos)
{
- if (!tx3g_update_style_atoms(ctx, utf8_end_pos - 1))
+ if (!tx3g_update_style_atoms(ctx, utf8_end_pos))
{
return 0;
}