1*4882a593SmuzhiyunCopyright (C) 2000-2009 Josh Coalson 2*4882a593SmuzhiyunCopyright (C) 2011-2014 Xiph.Org Foundation 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without 5*4882a593Smuzhiyunmodification, are permitted provided that the following conditions 6*4882a593Smuzhiyunare met: 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun- Redistributions of source code must retain the above copyright 9*4882a593Smuzhiyunnotice, this list of conditions and the following disclaimer. 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun- Redistributions in binary form must reproduce the above copyright 12*4882a593Smuzhiyunnotice, this list of conditions and the following disclaimer in the 13*4882a593Smuzhiyundocumentation and/or other materials provided with the distribution. 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun- Neither the name of the Xiph.org Foundation nor the names of its 16*4882a593Smuzhiyuncontributors may be used to endorse or promote products derived from 17*4882a593Smuzhiyunthis software without specific prior written permission. 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20*4882a593Smuzhiyun``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21*4882a593SmuzhiyunLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22*4882a593SmuzhiyunA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR 23*4882a593SmuzhiyunCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 24*4882a593SmuzhiyunEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25*4882a593SmuzhiyunPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 26*4882a593SmuzhiyunPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 27*4882a593SmuzhiyunLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 28*4882a593SmuzhiyunNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 29*4882a593SmuzhiyunSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30