Fix the way the macros that help building xvid version constants. It was basically initializing ints and then just using the 8 bit part. It's much better to explicitly use chars so each byte really is what it's supposed to be.
Changed paths: