bitpack.c odditiy

Nils Pipenbrinck <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.devel
Message-ID <[email protected]>
While browsing the code I came across line 83 bitpack.c:

  *_ret=((ret&0xFFFFFFFFUL)>>(m>>1))>>(m+1>>1);

Is there any reason why this is so convoluted? Maybe endianess or 64 bit 
issues? If I'm not mistaken it does exactly the the same as:

  *_ret = ret >> m;

Cheers,
  Nils
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.