oggdec: Determine pts and filepos on a packet basis in read_timestamp
authorDavid Conrad <lessen42@gmail.com>
Thu, 11 Mar 2010 07:17:56 +0000 (07:17 +0000)
committerDavid Conrad <lessen42@gmail.com>
Thu, 11 Mar 2010 07:17:56 +0000 (07:17 +0000)
commit873d117e4be3268b26397b05ed1fa74396d2ae84
tree93b309352f3b0c8a12cb3a23892a68e14efb0d5b
parent6abaa27211dab639d07414dc243620af697047cd
oggdec: Determine pts and filepos on a packet basis in read_timestamp

This takes into account whether the granule defines the start or end times
of packets, and sets the correct file offset of the associated page.

Originally committed as revision 22462 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/oggdec.c
tests/ref/seek/lavf.ogg.ref