[vorbis-dev] lacing values clarifications

Scott Wheeler wheeler at kde.org
Sat Jun 28 19:14:34 PDT 2003



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I thought I would separate this out into a separate mail since it's not
comment specific stuff --

There seem to be a couple of inconcistanies in the Ogg spec as regards to
lacing values:

*) "The raw packet is logicaly divided into [n] 255 byte segments and a last
fractional segment of < 255 bytes."  However, in the wild, I've found an
example where the first lacing value (in this case out of 13) is less than
255 (190 in the example I'm looking at).

*) "Note that a lacing value of 255 implies that a second lacing values
follows [...] A packet of 255 bytes is terminated by a lacing value of 0."
Is this value of 0 included in the "page_segments" value in the case that it
occurs?  i.e. is it safe to assume that the number of lacing values in the
header will be equal to the number of values in the segment_table?  Given the
above, scanning for a value of < 255 doesn't seem to be safe.

Thanks again,

- -Scott
- --
The fact that an opinion has been widely held is no evidence whatever that it
is not utterly absurd.
- --Bertrand Russell
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+/kuKQu0ByfY5QTkRAq4FAJ9lc55PXchmRFepbBvnCWvMXpSoBQCgzSfM
opB+PyS5m98+n1H1eco4gog=
=BDRq
-----END PGP SIGNATURE-----

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list