[Vorbis-dev] Q: about Vorbis 1 spec par 4.2.2. Identification header blocksize_0 and blocksize_1

Balatoni Denes dbalatoni at programozo.hu
Mon Jan 30 12:12:07 PST 2006


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,
> Arjan
bye
Denes

-- 
---
What kills me, doesn't make me stronger.


More information about the Vorbis-dev mailing list