ismindex: Use the individual stream duration instead of the global one
authorMartin Storsjö <martin@martin.st>
Wed, 2 Oct 2013 22:52:37 +0000 (01:52 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 4 Oct 2013 21:01:08 +0000 (00:01 +0300)
commitd347a7b248d4ffdc278373fecf033b0ade030343
treea12ed64188325a37d096c28f6c879346aa7c2ee3
parentb698542ad83284fbb8c22404e3cafeb2dd739d38
ismindex: Use the individual stream duration instead of the global one

The stream duration is used for calculating the duration of the
last fragment easily without manually parsing anything else than
the mfra/tfra atoms. When the global file duration was used
previously, the duration of the last fragment could end up wrong
if the streams weren't equally long.

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