19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: bitstream.h,v 1.25 2010-12-18 16:02:00 Isibaar Exp $ |
* $Id: bitstream.h,v 1.25.2.1 2010-12-28 19:19:57 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
204 |
#endif |
#endif |
205 |
bs->bufb = tmp; |
bs->bufb = tmp; |
206 |
|
|
207 |
bs->pos = bs->initpos = bitpos*8; |
bs->pos = bs->initpos = (uint32_t) bitpos*8; |
208 |
/* preserve the intervening bytes */ |
/* preserve the intervening bytes */ |
209 |
if (bs->initpos > 0) |
if (bs->initpos > 0) |
210 |
bs->buf = bs->bufa & (0xffffffff << (32 - bs->initpos)); |
bs->buf = bs->bufa & (0xffffffff << (32 - bs->initpos)); |