value_num should also be 64bit (1 hunk from the asf seeking patch by DrDivx/Steve...