In general, I highly recommend installing both the latest version of the 3ivx codec and the DivX codec; with the DivX codec handling soundtracks and the 3ivx codec doing video (all of which happens automatically), most modern avi movie files will play just fine.
Get yourself a copy of VLC as well; anything that Quicktime with the two above codecs can't handle, VLC almost certainly will.