Displaying 1 result from an estimated 1 matches for "oggpack_look1".
Did you mean:
oggpack_look
2008 Feb 06
6
Ogg bitwise.c bit tracking
...at the byte level, rather than
at the bit level (eg, if I encode a packet with just one bit, decode will
think there are 8 bits available). Am I right ?
Not that it's a particularly important issue, since remaining bits will
probably be initialized, but I noticed this while adding some calls to
oggpack_look1 at the end of my decode routines to check that negative was
being returned (eg, the data stream ended where it should), and it didn't.
Also, oggpack_bits, when called with a read buffer, returns the number of
bits read so far, rather than the number of bits still unread, which does
seem counte...