Fix crash on floating point segment duration (apparently durations should be floating point anyway: https://developer.apple.com/library/ios/technotes/tn2288/_index.html)