]> git.tuebingen.mpg.de Git - paraslash.git/commit
ogg_afh: Compute chunk time more accurately.
authorAndre Noll <maan@systemlinux.org>
Mon, 17 Jan 2011 07:24:37 +0000 (08:24 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 13 Feb 2011 22:14:48 +0000 (23:14 +0100)
commitd1806ee6d58dfad53549159f1d7bd377f28d7666
treefd06c05c9faee19abeb3fd7f33c21d9584af4eb1
parentd99be889bd865f5cdb6a177d50c406448b2be628
ogg_afh: Compute chunk time more accurately.

The chunk table is constructed so that each chunk corresponds to
frames_per_chunk samples as determined by the granule position of
the ogg page. Use this exact value for computing the duration of a
chunk rather than the avaerage num_frames / num_chunks.
ogg_afh_common.c