Arjan Knepper
2006-Jan-30 07:02 UTC
[Vorbis-dev] Q: about Vorbis 1 spec par 4.2.2. Identification header blocksize_0 and blocksize_1
The spec says: "blocksize_0 must be less than or equal to blocksize_1". When I dump the header I see this octet is 0xB8. Is this correct? Is the doc wrong? Or am I missing the obvious? We're using libvorbis-1.1.0-1 on debian linux. Thanks, Arjan
Balatoni Denes
2006-Jan-30 11:11 UTC
[Vorbis-dev] Q: about Vorbis 1 spec par 4.2.2. Identification header blocksize_0 and blocksize_1
Hi! h?tf? 30 janu?r 2006 16.02-kor Arjan Knepper ezeket fogalmazta meg:> The spec says: "blocksize_0 must be less than or equal to blocksize_1". > When I dump the header I see this octet is 0xB8. > Is this correct? Is the doc wrong? Or am I missing the obvious?All is fine. The bitstream is read in little endian/least significant bit first order, hence blocksize_0 is 1<<8 (256) and blocksize_1 is 1<<0xB (2048).> We're using libvorbis-1.1.0-1 on debian linux. > > > Thanks, > Arjanbye Denes -- --- What kills me, doesn't make me stronger.