Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 200047 | Differences between
and this patch

Collapse All | Expand All

(-)twolame-0.3.10-orig/libtwolame/bitbuffer.c (-3 / +3 lines)
Lines 59-65 Link Here
59
59
60
60
61
/*write 1 bit from the bit stream */
61
/*write 1 bit from the bit stream */
62
NO_DLL_INLINE void buffer_put1bit (bit_stream * bs, int bit)
62
void buffer_put1bit (bit_stream * bs, int bit)
63
{
63
{
64
	bs->totbit++;
64
	bs->totbit++;
65
	
65
	
Lines 78-84 Link Here
78
}
78
}
79
79
80
/*write N bits into the bit stream */
80
/*write N bits into the bit stream */
81
NO_DLL_INLINE void buffer_putbits (bit_stream * bs, unsigned int val, int N)
81
void buffer_putbits (bit_stream * bs, unsigned int val, int N)
82
{
82
{
83
	static const int putmask[9] = { 0x0, 0x1, 0x3, 0x7, 0xf, 0x1f, 0x3f, 0x7f, 0xff };
83
	static const int putmask[9] = { 0x0, 0x1, 0x3, 0x7, 0xf, 0x1f, 0x3f, 0x7f, 0xff };
84
	register int j = N;
84
	register int j = N;
Lines 105-111 Link Here
105
}
105
}
106
106
107
/*return the current bit stream length (in bits)*/
107
/*return the current bit stream length (in bits)*/
108
NO_DLL_INLINE unsigned long buffer_sstell (bit_stream * bs)
108
unsigned long buffer_sstell (bit_stream * bs)
109
{
109
{
110
	return (bs->totbit);
110
	return (bs->totbit);
111
}
111
}

Return to bug 200047