diff --git a/MP42/MP42MkvImporter.m b/MP42/MP42MkvImporter.m index 0603eba..eb3ba65 100644 --- a/MP42/MP42MkvImporter.m +++ b/MP42/MP42MkvImporter.m @@ -896,6 +896,10 @@ static NSString * TrackNameToString(TrackInfo *track) } } + if (duration == 0) { + duration = 10000; + } + // offset calculation int64_t offset = currentSample->startTime - demuxHelper->currentTime;