OpenDML AVI > 2Gb support patch by (Roman Shaposhnick <rvs at sun dot com>)