[vorbis-dev] clarifications on comments spec

Beni Cherniavsky cben at techunix.technion.ac.il
Sun Jul 6 05:02:44 PDT 2003



Segher Boessenkool wrote on 2003-07-02:

> Beni Cherniavsky wrote:
> > http://www.xiph.org/ogg/vorbis/doc/v-comment.html is not entirely
> > explicit on this.  It only says you must have one "framing bit" equal
> > to 1 after the comments - what for?  The natural way to read it would
> > be that if you do have the framing bit, everything after it should be
> > ignored
>
> That is how I read it, too.
>
>  > -- but it doesn't take too much squinting at it to decide to
> > do anything else (like complaining) when the packet doesn't end there.
>
> Well, any packet is a multiple of 8 bits, so 87.5% of all packets
> would get a complaint under that scheme.  It would be a good idea
> to complain if that bit is zero, though (for a 1.0 decoder).
>
Good point.  Actually 100% would get a complaint, because all previous
content of the comment packet is byte-aligned.  So there is no
sensible way to misread the spec on this.  :-).

> > If the intent is that such padding is legal, could this be written
> > there explicitly?
>
> Yes please.
>


-- 
Beni Cherniavsky <cben at tx.technion.ac.il>

Israel is moving to 7-digit cellphone numbers since the current
6-digit scheme, although prolonged for some time by supernetting,
"comes to the end of its useful life, once again due to address space
exhaustion" [RFC 1606 on IPv9 :-].  Why won't they just use DNS?
--- >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