[cvs] / xvidcore / src / bitstream / bitstream.h Repository:
ViewVC logotype

Diff of /xvidcore/src/bitstream/bitstream.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6, Wed Jun 12 20:38:40 2002 UTC revision 1.7, Fri Jun 14 13:25:07 2002 UTC
# Line 243  Line 243 
243  static uint32_t __inline  static uint32_t __inline
244  BitstreamPos(const Bitstream * const bs)  BitstreamPos(const Bitstream * const bs)
245  {  {
246          return 8 * ((uint32_t) bs->tail - (uint32_t) bs->start) + bs->pos;          return 8 * ((ptr_t)bs->tail - (ptr_t)bs->start) + bs->pos;
247  }  }
248    
249    
# Line 254  Line 254 
254  static uint32_t __inline  static uint32_t __inline
255  BitstreamLength(Bitstream * const bs)  BitstreamLength(Bitstream * const bs)
256  {  {
257          uint32_t len = (uint32_t) bs->tail - (uint32_t) bs->start;          uint32_t len = (ptr_t) bs->tail - (ptr_t) bs->start;
258    
259          if (bs->pos) {          if (bs->pos) {
260                  uint32_t b = bs->buf;                  uint32_t b = bs->buf;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4