diff options
author | wm4 <wm4@nowhere> | 2017-06-16 19:35:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-16 19:35:58 +0200 |
commit | 6ba14eb2674e53fa30c280be447eef3a209a0365 (patch) | |
tree | ac80e89845db520a10f14cd188a8ddde6c449e76 /video | |
parent | a86b0ffa6b9a3c0717a337d2e5544365b6cda2ad (diff) | |
download | mpv-6ba14eb2674e53fa30c280be447eef3a209a0365.tar.bz2 mpv-6ba14eb2674e53fa30c280be447eef3a209a0365.tar.xz |
mp_image: change license to LGPL (almost)
Since michael was somewhat involved in it, wait with the actual license
change until the core is relicensed. Thus mark it as "Almost LGPL.".
The worrisome part about mp_image.c is that it was created by cehoyos
(which disagreed with LGPL) in commit f2dee327b2797. But it turns out it
was a patch by someone else (who agreed with LGPL).
For some reason, the patch was actually slightly modified by cehoyos for
no reason (messed with the include statements), so we mess them back,
just to be sure.
Other than this, there were some commits that added support for new
IMGFMTs over the years. Some of these were by people we didn't ask or we
didn't get permission from. But since the original mp_image code was
replaced by more generic code using FFmpeg pixdesc, none of these
changes are left anyway.
One additional change by cehoyos (115bfb976270) has been removed as well
(when "direct rendering" was dropped from the filter chain).
Diffstat (limited to 'video')
-rw-r--r-- | video/mp_image.c | 9 | ||||
-rw-r--r-- | video/mp_image.h | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/video/mp_image.c b/video/mp_image.c index 76a117d85a..bc706b8856 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -13,13 +13,10 @@ * * You should have received a copy of the GNU General Public License along * with mpv. If not, see <http://www.gnu.org/licenses/>. + * + * Almost LGPL. */ -#include "config.h" - -#include <stdio.h> -#include <stdlib.h> -#include <string.h> #include <limits.h> #include <pthread.h> #include <assert.h> @@ -33,7 +30,7 @@ #include "mpv_talloc.h" -#include "img_format.h" +#include "common/common.h" #include "mp_image.h" #include "sws_utils.h" #include "fmt-conversion.h" diff --git a/video/mp_image.h b/video/mp_image.h index e3ffd55adc..56ce2257f4 100644 --- a/video/mp_image.h +++ b/video/mp_image.h @@ -13,6 +13,8 @@ * * You should have received a copy of the GNU General Public License along * with mpv. If not, see <http://www.gnu.org/licenses/>. + * + * Almost LGPL. */ #ifndef MPLAYER_MP_IMAGE_H |