Quicktime (even v6) is still irritatingly useless at playing PC formats like .avi. The easiest answer is to use
Video Lan Client.
Once you have it installed. Put an alias of it in the Dock or on the desktop and whenever a vid doesn't work in Quicktime, drag it over the vlc icon.