lavf/dashenc: Fix segment duration overflow on fine time bases.
authorAndrey Semashev <andrey.semashev@gmail.com>
Tue, 20 Nov 2018 17:33:52 +0000 (20:33 +0300)
committerKarthick J <kjeyapal@akamai.com>
Fri, 23 Nov 2018 08:45:32 +0000 (14:15 +0530)
commitfa08345e882c7b717744419914c6621ef66d0f5b
treed960eaee952076e63e15a1409acb491131f7be83
parente895b800fe273d3445be52a4880ae0172c193bc0
lavf/dashenc: Fix segment duration overflow on fine time bases.

When stream time bases are very fine grained (e.g. nanoseconds), 32-bit
segment duration may overflow for even for rather small segment duration
(about 4 seconds long). Therefore we use 64-bit values for segment duration.
libavformat/dashenc.c