[vorbis-dev] lacing values clarifications

Michael Smith msmith at xiph.org
Mon Jun 30 19:24:29 PDT 2003



> >   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?
>
> As the spec says, this field is "[t]he number of segment entries to
> appear in the segment table". The zero termination is just a bit of
> redundency  for error detection, of if you prefer an esthetic
> consistency.

Err... no it isn't. The zero termination is the only possible way (given how 
the lengths are encoded) to specify a packet length which is a multiple of 
255.

<p>Mike

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