[ogg-dev] Quickie: Bitpacker endianness / OggPCM

John Koleszar jkoleszar at on2.com
Wed Nov 9 11:25:56 PST 2005


Michael Smith wrote:

> libogg has two bitpackers; a little endian one and a bigendian one.

ok, I didn't see it in the docs at 
http://www.xiph.org/ogg/doc/libogg/reference.html and didn't look in the 
header file first. My bad.

Is it correct to state that the oggpack_* functions use little endian 
order, and the oggpackB_* functions use big endian order? Is it safe to 
mix calls to the two different bitpackers on the same oggpack_buffer?





More information about the ogg-dev mailing list