[vorbis-dev] Confusion with page_segments / segment_table

Anders Thomsen list at mexp.dk
Mon Nov 11 07:50:20 PST 2002



Hi,

There is something I don't understand about the page_segment and segment_table values in the documentation.

As I understand it, the segment table consist of as many bytes as specified in page_segment, PLUS one trailing byte with a value between 0 and 254.
I've looked at some files that has a Comment tag so large, that it is spread over two pages. Here, the first Page Header (not the first Page Header in the entire file, but the one just before the comment tag starts) has this extra trailing segment.
But the next Page Header (which is positioned in the middle of the comment tag) only has as many segments as specified in the Page Segments byte value. It does not have a trailing segment.

What am I missing here?

Thanks in advantage,
Anders Thomsen

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