XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)