[Matroska-devel] Signed integers in EBML
Moritz Bunkus
moritz at bunkus.org
Sun Jan 11 13:06:39 CET 2009
Hey,
On Sunday 11 January 2009, Richard Stitz wrote:
> __int64 vsint_subtr [] =
> { 0x3F, 0x1FFF, 0x0FFFFF, 0x07FFFFFF,
> 0x03FFFFFFFF, 0x01FFFFFFFFFF,
> 0x00FFFFFFFFFFFFFF, 0x007FFFFFFFFFFFFF };
The penultimate value is indeed wrong, it is two F to long. The last
value is OK again.
Meaning 0x00FFFFFFFFFFFFFF should read 0x00FFFFFFFFFFFF as far as I can
tell.
Regards,
Mosu
--
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20090111/e03a3901/attachment.pgp>
More information about the Matroska-devel
mailing list