Fixed getting frame rate from avi file