[vorbis-dev] Confusion with page_segments / segment_table
list at mexp.dk
Wed Nov 6 08:35:56 PST 2002
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,
--- >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