diff options
Diffstat (limited to 'demux/demux_mkv_timeline.c')
-rw-r--r-- | demux/demux_mkv_timeline.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/demux/demux_mkv_timeline.c b/demux/demux_mkv_timeline.c index de7b2e0853..3ad24eb8a5 100644 --- a/demux/demux_mkv_timeline.c +++ b/demux/demux_mkv_timeline.c @@ -384,8 +384,7 @@ static void build_timeline_loop(struct tl_ctx *ctx, /* If we're the source or it's a non-ordered edition reference, * just add a timeline part from the source. */ if (current_source == j || !linked_m->uid.edition) { - uint64_t source_full_length = - demuxer_get_time_length(linked_source) * 1e9; + uint64_t source_full_length = linked_source->duration * 1e9; uint64_t source_length = source_full_length - c->start; int64_t join_diff = 0; |