Changeset 307 for libmpc/trunk/libmpcenc
- Timestamp:
- 05/03/07 12:39:37 (18 years ago)
- Location:
- libmpc/trunk/libmpcenc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/libmpcenc/bitstream.c
r221 r307 133 133 nb &= (1 << k) - 1; 134 134 135 while( l > 3 2){136 writeBits(e, 0, 3 2);137 l -= 3 2;135 while( l > 31 ){ 136 writeBits(e, 0, 31); 137 l -= 31; 138 138 } 139 139 writeBits(e, 1, l); -
libmpc/trunk/libmpcenc/libmpcenc.h
r226 r307 95 95 void writeMagic (mpc_encoder_t * e); 96 96 void emptyBits(mpc_encoder_t * e); 97 98 /// maximum number of output bits is 31 ! 97 99 static mpc_inline void writeBits (mpc_encoder_t * e, mpc_uint32_t input, unsigned int bits ) 98 100 {
Note: See TracChangeset
for help on using the changeset viewer.