diff options
Diffstat (limited to 'libhb/sync.c')
-rw-r--r-- | libhb/sync.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index 17d0280e8..575e079ae 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -374,6 +374,10 @@ static hb_buffer_t * mergeSubtitles(subtitle_sanitizer_t *sanitizer, int end) hb_buffer_t *tmp = a; a->next = b->next; b->next = a; + if (sanitizer->last == b) + { + sanitizer->last = a; + } a = b; b = tmp; sanitizer->list_current = a; |