[Ffmpeg-devel] Re: Matroska Patch

Måns Rullgård mru
Tue Mar 21 22:32:39 CET 2006

Mike Matsnev <mike at po.cs.msu.su> writes:

> 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.

In that case, the rest of the code should updated to reflect this.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list