cannam@126: Copyright (c) 2012-2016, Erik de Castro Lopo cannam@126: All rights reserved. cannam@126: cannam@126: Redistribution and use in source and binary forms, with or without cannam@126: modification, are permitted provided that the following conditions are cannam@126: met: cannam@126: cannam@126: 1. Redistributions of source code must retain the above copyright cannam@126: notice, this list of conditions and the following disclaimer. cannam@126: cannam@126: 2. Redistributions in binary form must reproduce the above copyright cannam@126: notice, this list of conditions and the following disclaimer in the cannam@126: documentation and/or other materials provided with the distribution. cannam@126: cannam@126: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS cannam@126: IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED cannam@126: TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A cannam@126: PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT cannam@126: HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, cannam@126: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED cannam@126: TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR cannam@126: PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF cannam@126: LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING cannam@126: NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS cannam@126: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.