summaryrefslogtreecommitdiffstats
path: root/video/image_writer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-18 15:12:11 +0200
committerwm4 <wm4@nowhere>2017-06-18 15:15:07 +0200
commit5ea851feae07e33dfd47b302a891f03b85393609 (patch)
treebedad0040d85d182a1c1dfb1610085c7761767cd /video/image_writer.c
parent456c2ad222d7663cd8889b5509083ab07c2314b0 (diff)
downloadmpv-5ea851feae07e33dfd47b302a891f03b85393609.tar.bz2
mpv-5ea851feae07e33dfd47b302a891f03b85393609.tar.xz
video/fmt-conversion, img_format: change license to LGPL
The problem with fmt-conversion.h is that "lucabe", who disagreed with LGPL, originally wrote it. But it was actually rewritten by "reimar" later. The original switch statement was replaced with a lookup table. No code other than the imgfmt2pixfmt() function signature survives. Neither the format pairs (PIXFMT<->IMGFMT), nor the concept of mapping them, can be copyrighted. So changing the license should be fine, because reimar and all other authors involved with the new code agreed to LGPL. We also don't consider format pairs added later as copyrightable. (The direct-mapping idea mentioned in the "Copyright" file seems attractive, and I might implement in later anyway.) Likewise, there might be some format names added to img_format.h, which are not covered by relicensing agreements. These all affect "later" additions, and they follow either the FFmpeg PIXFMT naming or some other pre-existing logic, so this should be fine.
Diffstat (limited to 'video/image_writer.c')
0 files changed, 0 insertions, 0 deletions