summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/muxmp4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c
index 157ce2351..0e7cf123c 100644
--- a/libhb/muxmp4.c
+++ b/libhb/muxmp4.c
@@ -399,7 +399,7 @@ static int MP4Mux( hb_mux_object_t * m, hb_mux_data_t * mux_data,
}
free(sample);
m->current_chapter++;
- m->chapter_duration = duration;
+ m->chapter_duration += duration;
}
/* Video */