small fix for segment durations
Merge pull request #25 from DavidDoukhan/master

small fix for segment durations