[vorbis-dev] comment field proposal
Monty
xiphmont at xiph.org
Mon May 15 14:55:40 PDT 2000
> The vector length is encoded? This information isn't available, currently,
> if so. The vorbis_comments structure gives the NUMBER of comments, the
> vendor string, and the comments themselves - but right now, we HAVE to
> assume they're null terminated. This would be a good thing to fix soon, if
> it's not meant to be like this, before there's too much software around
> that assumes they will always be null terminated.
Correct; that's why I said 'right now, libvorbis uses null terminated strings'.
This is safe (and libvorbis always null terminates incoming strings), but
isn't the correct thing to do.
This minor API change should get made; I'll put that on my plate.
Monty
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
More information about the Vorbis-dev
mailing list