summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index 689dd21a0..5d67a790b 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -1975,7 +1975,7 @@ static int mergeSubtitleOverlaps(subtitle_sanitizer_t *sanitizer)
hb_buffer_list_clear(&merged_list);
a = hb_buffer_list_head(&sanitizer->list_current);
- start = a->s.start;
+ stop = start = a->s.start;
while (start < last)
{
hb_buffer_t * merge = findOverlap(sanitizer, start, &stop);