ismindex: Calculate the file duration among the included tracks
authorMartin Storsjö <martin@martin.st>
Fri, 4 Oct 2013 07:12:07 +0000 (10:12 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 4 Oct 2013 21:01:18 +0000 (00:01 +0300)
commit583a287f6f48f263859df142e6f90993e4217c72
tree23c181138a5fe58b0cd401448db255b36ae9b282
parentd347a7b248d4ffdc278373fecf033b0ade030343
ismindex: Calculate the file duration among the included tracks

If the input file contains other tracks (non video/audio) that
aren't included in ismindex, the global file duration as returned
by libavformat might not be equal to the maximum of the duration
of the actual included tracks.

Signed-off-by: Martin Storsjö <martin@martin.st>
tools/ismindex.c