1*1295d682SXin LiCopyright (c) 2017, Mozilla 2*1295d682SXin LiCopyright (c) 2007-2017, Jean-Marc Valin 3*1295d682SXin LiCopyright (c) 2005-2017, Xiph.Org Foundation 4*1295d682SXin LiCopyright (c) 2003-2004, Mark Borgerding 5*1295d682SXin Li 6*1295d682SXin LiRedistribution and use in source and binary forms, with or without 7*1295d682SXin Limodification, are permitted provided that the following conditions 8*1295d682SXin Liare met: 9*1295d682SXin Li 10*1295d682SXin Li- Redistributions of source code must retain the above copyright 11*1295d682SXin Linotice, this list of conditions and the following disclaimer. 12*1295d682SXin Li 13*1295d682SXin Li- Redistributions in binary form must reproduce the above copyright 14*1295d682SXin Linotice, this list of conditions and the following disclaimer in the 15*1295d682SXin Lidocumentation and/or other materials provided with the distribution. 16*1295d682SXin Li 17*1295d682SXin Li- Neither the name of the Xiph.Org Foundation nor the names of its 18*1295d682SXin Licontributors may be used to endorse or promote products derived from 19*1295d682SXin Lithis software without specific prior written permission. 20*1295d682SXin Li 21*1295d682SXin LiTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22*1295d682SXin Li``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23*1295d682SXin LiLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24*1295d682SXin LiA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION 25*1295d682SXin LiOR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26*1295d682SXin LiSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27*1295d682SXin LiLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28*1295d682SXin LiDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29*1295d682SXin LiTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30*1295d682SXin Li(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31*1295d682SXin LiOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32