TinTime's patch for Nic's AVS2ASF