hello,

to make this work on intel macs you need to change the methods getBits32() and getBits16() in bitio.c as follows below.
you do not need to change getBits24, because it's output is not used for anything, it is just called to hop over some bytes in a stream. maybe someone who has a clue about cvs could incorporate this into the repository.

many regards,
sebastian mecklenburg

unsigned int getBits32(BitInputStream *bitInput)
{
    int bits = getBits(bitInput, 32);
#if defined(__i386__)
        __asm__ ("bswap   %0" : "+r" (bits));
#endif
    return bits;   
}

unsigned int getBits16(BitInputStream *bitInput)
{
    unsigned short bits = getBits(bitInput, 16);
#if defined(__i386__)
    bits = ((bits << 8) | (bits >> 8));
#endif
    return bits;   
}