1*4882a593SmuzhiyunCopyright (c) 2010, Google Inc. All rights reserved. 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without 4*4882a593Smuzhiyunmodification, are permitted provided that the following conditions are 5*4882a593Smuzhiyunmet: 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun * Redistributions of source code must retain the above copyright 8*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer. 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun * Redistributions in binary form must reproduce the above copyright 11*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer in 12*4882a593Smuzhiyun the documentation and/or other materials provided with the 13*4882a593Smuzhiyun distribution. 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun * Neither the name of Google nor the names of its contributors may 16*4882a593Smuzhiyun be used to endorse or promote products derived from this software 17*4882a593Smuzhiyun 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 COPYRIGHT 23*4882a593SmuzhiyunHOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24*4882a593SmuzhiyunSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25*4882a593SmuzhiyunLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26*4882a593SmuzhiyunDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27*4882a593SmuzhiyunTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28*4882a593Smuzhiyun(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29*4882a593SmuzhiyunOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunAdditional IP Rights Grant (Patents) 32*4882a593Smuzhiyun------------------------------------ 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun"These implementations" means the copyrightable works that implement the WebM 35*4882a593Smuzhiyuncodecs distributed by Google as part of the WebM Project. 36*4882a593Smuzhiyun 37*4882a593SmuzhiyunGoogle hereby grants to you a perpetual, worldwide, non-exclusive, no-charge, 38*4882a593Smuzhiyunroyalty-free, irrevocable (except as stated in this section) patent license to 39*4882a593Smuzhiyunmake, have made, use, offer to sell, sell, import, transfer, and otherwise 40*4882a593Smuzhiyunrun, modify and propagate the contents of these implementations of WebM, where 41*4882a593Smuzhiyunsuch license applies only to those patent claims, both currently owned by 42*4882a593SmuzhiyunGoogle and acquired in the future, licensable by Google that are necessarily 43*4882a593Smuzhiyuninfringed by these implementations of WebM. This grant does not include claims 44*4882a593Smuzhiyunthat would be infringed only as a consequence of further modification of these 45*4882a593Smuzhiyunimplementations. If you or your agent or exclusive licensee institute or order 46*4882a593Smuzhiyunor agree to the institution of patent litigation or any other patent 47*4882a593Smuzhiyunenforcement activity against any entity (including a cross-claim or 48*4882a593Smuzhiyuncounterclaim in a lawsuit) alleging that any of these implementations of WebM 49*4882a593Smuzhiyunor any code incorporated within any of these implementations of WebM 50*4882a593Smuzhiyunconstitute direct or contributory patent infringement, or inducement of 51*4882a593Smuzhiyunpatent infringement, then any patent rights granted to you under this License 52*4882a593Smuzhiyunfor these implementations of WebM shall terminate as of the date such 53*4882a593Smuzhiyunlitigation is filed. 54