[ogg-dev] Vectored I/O for libogg

Michael Smith msmith at xiph.org
Thu Jan 11 20:56:29 PST 2007


On 1/12/07, Ard <andrew.donkin.ogg at gmail.com> wrote:
> Folks, the packets I want to place in an ogg stream are concatenations
> of two hunks of memory.  Rather than memcopy() them into one then pass
> them to libogg, I patched framing.c to accept iovecs.
>
> The unified diff is 80 lines, minus the OS-specific stuff for defining
> struct ogg_iovec_t - pretty trivial.
>
> Is there any interest in it?  Or is libogg frozen while all efforts are
> concentrated on libogg2?

If it's purely a binary-compatible API addition, we'd certainly
consider it - please send in your patch.

Nobody is actively developing on either libogg or libogg2, but if
there are sufficiently useful contributions we'd do a new release.

Can we ask what you're doing with ogg, specifically?

Mike


More information about the ogg-dev mailing list