Include boilerplate MIT License in comments

This commit is contained in:
Ken Cooke 2018-06-07 08:21:31 -07:00
parent bc4d900f7d
commit 41f3d81443
2 changed files with 212 additions and 168 deletions

View file

@ -1,94 +1,116 @@
/* /*
* FLUENDO S.A. * FLUENDO S.A.
* Copyright (C) <2005 - 2011> <support@fluendo.com> * Copyright (C) <2005 - 2011> <support@fluendo.com>
*
* This Source Code is licensed under MIT license and the explanations attached
* in MIT License Statements.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is furnished to do
* so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* MIT license Statements for Fluendo's mp3 plug-in Source Code
* ------------------------------------------------------------
* *
* Modifications and bug fixes copyright 2018 High Fidelity, Inc. * Fluendo's mp3 software Source Code (the "Source Code") is licensed under the
* Now passes ISO/IEC 11172-4 "full accuracy" compliance testing. * MIT license provisions.
* *
* The MIT license is an open source license that permits the User to operate and
MIT license Statements for Fluendo's mp3 plug-in Source Code * use in many forms the Source Code, which would be governed under its
------------------------------------------------------------ * regulations.
*
Fluendo's mp3 software Source Code (the "Source Code") is licensed under the * The purpose of this note is to clarify the intellectual property rights granted
MIT license provisions. * over the Source Code by Fluendo, as well as other legal issues that concern
* your use of it.
The MIT license is an open source license that permits the User to operate and *
use in many forms the Source Code, which would be governed under its * MIT license contents and provisions
regulations. * -----------------------------------
*
The purpose of this note is to clarify the intellectual property rights granted * The MIT license allows you to do the following things with the Source Code:
over the Source Code by Fluendo, as well as other legal issues that concern *
your use of it. * - Copy and use the Source Code alone or jointly with other code for any
* purposes.
MIT license contents and provisions * Copy of the Source Code is not limited and is royalty-free.
----------------------------------- *
* - Merge the Source Code with other code for developing new applications with no
The MIT license allows you to do the following things with the Source Code: * limits.
*
- Copy and use the Source Code alone or jointly with other code for any * - Modifying the Source Code for developing the plug-in or for implementing the
purposes. * plug-in in other applications for any purposes. The MIT License does not
Copy of the Source Code is not limited and is royalty-free. * require you to share these modifications with anyone.
*
- Merge the Source Code with other code for developing new applications with no * - Publish, distribute, sublicense and sell copies of the Source Code to third
limits. * parties.
*
- Modifying the Source Code for developing the plug-in or for implementing the * - Permit anyone to whom the Source Code is licensed to enjoy the rights above
plug-in in other applications for any purposes. The MIT License does not * subject to the MIT license provisions.
require you to share these modifications with anyone. *
* By licensing this Source Code under the MIT License, Fluendo is offering to the
- Publish, distribute, sublicense and sell copies of the Source Code to third * community the rights set out above without restriction and without any
parties. * obligation for the User of the Source Code to release his/her modifications
* back to the community. Anyone operating with the Source Code released from
- Permit anyone to whom the Source Code is licensed to enjoy the rights above * Fluendo must grant the same MIT license rights to the community, except for any
subject to the MIT license provisions. * modifications operated on the Source Code which can be granted under a
* different license (even a proprietary license).
By licensing this Source Code under the MIT License, Fluendo is offering to the *
community the rights set out above without restriction and without any * All these rights granted to the User for the Source Code hold a limitation
obligation for the User of the Source Code to release his/her modifications * which is to include MIT permission notice and the following copyright notice:
back to the community. Anyone operating with the Source Code released from * "Copyright 2005 Fluendo, S.L. This Source Code is licensed under MIT license
Fluendo must grant the same MIT license rights to the community, except for any * and the explanations attached in MIT License Statements". These notices shall
modifications operated on the Source Code which can be granted under a * be included in all copies of the Source Code or in substantial parts of the
different license (even a proprietary license). * Source Code which may be released separately or with modifications.
*
All these rights granted to the User for the Source Code hold a limitation * Patents over the plug-in and/or Source Code
which is to include MIT permission notice and the following copyright notice: * -------------------------------------------
"Copyright 2005 Fluendo, S.L. This Source Code is licensed under MIT license *
and the explanations attached in MIT License Statements". These notices shall * The binaries that can be created by compiling this Source Code released by
be included in all copies of the Source Code or in substantial parts of the * Fluendo might be covered by patents in various parts of the world. Fluendo
Source Code which may be released separately or with modifications. * does not own or claim to own any patents on the techniques used in the code.
* (Such patents are owned or claimed to be owned by Thompson Licensing, S.A. and
Patents over the plug-in and/or Source Code * some other entities as the case may be).
------------------------------------------- *
* Fluendo has got the relevant licenses to cover its own activities with the
The binaries that can be created by compiling this Source Code released by * Source Code but it is not authorized to sublicense nor to grant the rights
Fluendo might be covered by patents in various parts of the world. Fluendo * which it has acquired over the patents. In this sense, you can work and deal
does not own or claim to own any patents on the techniques used in the code. * freely with the Source Code under MIT provisions set out above, bearing in mind
(Such patents are owned or claimed to be owned by Thompson Licensing, S.A. and * that some activities might not be allowed under applicable patent regulations
some other entities as the case may be). * and that Fluendo is not granting any rights in relation to such patents.
*
Fluendo has got the relevant licenses to cover its own activities with the * The patent license granted to Fluendo only covers Fluendo's own Software and
Source Code but it is not authorized to sublicense nor to grant the rights * Source Code activities. In any case, this software license does not allow you
which it has acquired over the patents. In this sense, you can work and deal * to redistribute or copy complete, ready to use mp3 software decoder binaries
freely with the Source Code under MIT provisions set out above, bearing in mind * made from the Source Code as made available by Fluendo. You can of course
that some activities might not be allowed under applicable patent regulations * distribute binaries you make yourself under any terms allowed by the MIT
and that Fluendo is not granting any rights in relation to such patents. * license and whatever necessary rights you have or have acquired according to
* applicable patent regulations.
The patent license granted to Fluendo only covers Fluendo's own Software and *
Source Code activities. In any case, this software license does not allow you * As Fluendo can not assure that any of the activities you undertake do not
to redistribute or copy complete, ready to use mp3 software decoder binaries * infringe any patents or other industrial or intellectual property rights,
made from the Source Code as made available by Fluendo. You can of course * Fluendo hereby disclaims any liability for any patent infringement that may be
distribute binaries you make yourself under any terms allowed by the MIT * claimed to you or to any other person from any legitimate rights owner, as
license and whatever necessary rights you have or have acquired according to * stated in MIT license. So it is your responsibility to get information and to
applicable patent regulations. * acquire the necessary patent licenses to undertake your activities legally.
As Fluendo can not assure that any of the activities you undertake do not
infringe any patents or other industrial or intellectual property rights,
Fluendo hereby disclaims any liability for any patent infringement that may be
claimed to you or to any other person from any legitimate rights owner, as
stated in MIT license. So it is your responsibility to get information and to
acquire the necessary patent licenses to undertake your activities legally.
*/ */
//
// Modifications and bug fixes copyright 2018 High Fidelity, Inc.
// Now passes ISO/IEC 11172-4 "full accuracy" compliance testing.
//
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View file

@ -1,94 +1,116 @@
/* /*
* FLUENDO S.A. * FLUENDO S.A.
* Copyright (C) <2005 - 2011> <support@fluendo.com> * Copyright (C) <2005 - 2011> <support@fluendo.com>
*
* This Source Code is licensed under MIT license and the explanations attached
* in MIT License Statements.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is furnished to do
* so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* MIT license Statements for Fluendo's mp3 plug-in Source Code
* ------------------------------------------------------------
* *
* Modifications and bug fixes copyright 2018 High Fidelity, Inc. * Fluendo's mp3 software Source Code (the "Source Code") is licensed under the
* Now passes ISO/IEC 11172-4 "full accuracy" compliance testing. * MIT license provisions.
* *
* The MIT license is an open source license that permits the User to operate and
MIT license Statements for Fluendo's mp3 plug-in Source Code * use in many forms the Source Code, which would be governed under its
------------------------------------------------------------ * regulations.
*
Fluendo's mp3 software Source Code (the "Source Code") is licensed under the * The purpose of this note is to clarify the intellectual property rights granted
MIT license provisions. * over the Source Code by Fluendo, as well as other legal issues that concern
* your use of it.
The MIT license is an open source license that permits the User to operate and *
use in many forms the Source Code, which would be governed under its * MIT license contents and provisions
regulations. * -----------------------------------
*
The purpose of this note is to clarify the intellectual property rights granted * The MIT license allows you to do the following things with the Source Code:
over the Source Code by Fluendo, as well as other legal issues that concern *
your use of it. * - Copy and use the Source Code alone or jointly with other code for any
* purposes.
MIT license contents and provisions * Copy of the Source Code is not limited and is royalty-free.
----------------------------------- *
* - Merge the Source Code with other code for developing new applications with no
The MIT license allows you to do the following things with the Source Code: * limits.
*
- Copy and use the Source Code alone or jointly with other code for any * - Modifying the Source Code for developing the plug-in or for implementing the
purposes. * plug-in in other applications for any purposes. The MIT License does not
Copy of the Source Code is not limited and is royalty-free. * require you to share these modifications with anyone.
*
- Merge the Source Code with other code for developing new applications with no * - Publish, distribute, sublicense and sell copies of the Source Code to third
limits. * parties.
*
- Modifying the Source Code for developing the plug-in or for implementing the * - Permit anyone to whom the Source Code is licensed to enjoy the rights above
plug-in in other applications for any purposes. The MIT License does not * subject to the MIT license provisions.
require you to share these modifications with anyone. *
* By licensing this Source Code under the MIT License, Fluendo is offering to the
- Publish, distribute, sublicense and sell copies of the Source Code to third * community the rights set out above without restriction and without any
parties. * obligation for the User of the Source Code to release his/her modifications
* back to the community. Anyone operating with the Source Code released from
- Permit anyone to whom the Source Code is licensed to enjoy the rights above * Fluendo must grant the same MIT license rights to the community, except for any
subject to the MIT license provisions. * modifications operated on the Source Code which can be granted under a
* different license (even a proprietary license).
By licensing this Source Code under the MIT License, Fluendo is offering to the *
community the rights set out above without restriction and without any * All these rights granted to the User for the Source Code hold a limitation
obligation for the User of the Source Code to release his/her modifications * which is to include MIT permission notice and the following copyright notice:
back to the community. Anyone operating with the Source Code released from * "Copyright 2005 Fluendo, S.L. This Source Code is licensed under MIT license
Fluendo must grant the same MIT license rights to the community, except for any * and the explanations attached in MIT License Statements". These notices shall
modifications operated on the Source Code which can be granted under a * be included in all copies of the Source Code or in substantial parts of the
different license (even a proprietary license). * Source Code which may be released separately or with modifications.
*
All these rights granted to the User for the Source Code hold a limitation * Patents over the plug-in and/or Source Code
which is to include MIT permission notice and the following copyright notice: * -------------------------------------------
"Copyright 2005 Fluendo, S.L. This Source Code is licensed under MIT license *
and the explanations attached in MIT License Statements". These notices shall * The binaries that can be created by compiling this Source Code released by
be included in all copies of the Source Code or in substantial parts of the * Fluendo might be covered by patents in various parts of the world. Fluendo
Source Code which may be released separately or with modifications. * does not own or claim to own any patents on the techniques used in the code.
* (Such patents are owned or claimed to be owned by Thompson Licensing, S.A. and
Patents over the plug-in and/or Source Code * some other entities as the case may be).
------------------------------------------- *
* Fluendo has got the relevant licenses to cover its own activities with the
The binaries that can be created by compiling this Source Code released by * Source Code but it is not authorized to sublicense nor to grant the rights
Fluendo might be covered by patents in various parts of the world. Fluendo * which it has acquired over the patents. In this sense, you can work and deal
does not own or claim to own any patents on the techniques used in the code. * freely with the Source Code under MIT provisions set out above, bearing in mind
(Such patents are owned or claimed to be owned by Thompson Licensing, S.A. and * that some activities might not be allowed under applicable patent regulations
some other entities as the case may be). * and that Fluendo is not granting any rights in relation to such patents.
*
Fluendo has got the relevant licenses to cover its own activities with the * The patent license granted to Fluendo only covers Fluendo's own Software and
Source Code but it is not authorized to sublicense nor to grant the rights * Source Code activities. In any case, this software license does not allow you
which it has acquired over the patents. In this sense, you can work and deal * to redistribute or copy complete, ready to use mp3 software decoder binaries
freely with the Source Code under MIT provisions set out above, bearing in mind * made from the Source Code as made available by Fluendo. You can of course
that some activities might not be allowed under applicable patent regulations * distribute binaries you make yourself under any terms allowed by the MIT
and that Fluendo is not granting any rights in relation to such patents. * license and whatever necessary rights you have or have acquired according to
* applicable patent regulations.
The patent license granted to Fluendo only covers Fluendo's own Software and *
Source Code activities. In any case, this software license does not allow you * As Fluendo can not assure that any of the activities you undertake do not
to redistribute or copy complete, ready to use mp3 software decoder binaries * infringe any patents or other industrial or intellectual property rights,
made from the Source Code as made available by Fluendo. You can of course * Fluendo hereby disclaims any liability for any patent infringement that may be
distribute binaries you make yourself under any terms allowed by the MIT * claimed to you or to any other person from any legitimate rights owner, as
license and whatever necessary rights you have or have acquired according to * stated in MIT license. So it is your responsibility to get information and to
applicable patent regulations. * acquire the necessary patent licenses to undertake your activities legally.
As Fluendo can not assure that any of the activities you undertake do not
infringe any patents or other industrial or intellectual property rights,
Fluendo hereby disclaims any liability for any patent infringement that may be
claimed to you or to any other person from any legitimate rights owner, as
stated in MIT license. So it is your responsibility to get information and to
acquire the necessary patent licenses to undertake your activities legally.
*/ */
//
// Modifications and bug fixes copyright 2018 High Fidelity, Inc.
// Now passes ISO/IEC 11172-4 "full accuracy" compliance testing.
//
#ifndef __FLUMP3DEC_H__ #ifndef __FLUMP3DEC_H__
#define __FLUMP3DEC_H__ #define __FLUMP3DEC_H__