[FFmpeg-devel] [PATCH] fix pcm_read_seek with negative timestamp

Michael Niedermayer michaelni
Sat Mar 14 15:41:54 CET 2009


On Sat, Mar 14, 2009 at 12:04:44PM +0100, Reimar D?ffinger wrote:
> Hello,
> currently pcm_read seek for negative timestamps either seeks somewhere
> before data_offset (clearly broken) or fails (possibly broken).

> This patch treats negative time stamps as 0, which would be

which breaks the API
now, seek2() fixes all that by introducing an API that has no problem
with timestamps that are outside the first..last

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090314/3464d556/attachment.pgp>



More information about the ffmpeg-devel mailing list