[ogg-dev] How Ogg mappings translate into the codecs parameter in Ogg media types

ogg.k.ogg.k at googlemail.com ogg.k.ogg.k at googlemail.com
Mon May 26 03:18:56 PDT 2008

>           char[8]: 'kate\0\0\0\0'    | kate

This is incorrect, should be:

            char[9]: '\x80kate\0\0\0\0'    | kate

As Theora does, each packet has a first byte for the packet type (MSB
set for headers).
The padding with 4 zeros rather than 3 is due to, er, historical reasons :)

More information about the ogg-dev mailing list