Fix crash on floating point segment duration

I just ran into a segment with a floating point duration which caused a crash. Apparently segment durations should be floating point anyway:
https://developer.apple.com/library/ios/technotes/tn2288/_index.html#//apple_ref/doc/uid/DTS40012238-CH1-DontLinkElementID_3