[Ffmpeg-devel] Re: Matroska Patch

Mike Matsnev mike
Tue Mar 21 22:27:28 CET 2006

M?ns Rullg?rd wrote:
> The cluster time is unsigned.  You can't treat it as signed.
Yes, cluster time is unsigned, but block time relative to cluster is signed 16 bit int.
This is an annoying artifact in the spec, but it's too late to change it.
In practice you don't see negative pts, and there aren't huge pts requiring all 64 bits
too, so it's unclear what is a better choice. I'd allow negative timestamps that can
be used as preroll by some muxers.

More information about the ffmpeg-devel mailing list