Original commit message from CVS: Fixed a bug in the inlined getbits.
Original commit message from CVS: I the generc getbits implementation