Which is the license of XXX?
Apple Lossless
The Apple Lossless Encoder (and decoder) were released as open source software under the Apache License version 2.0 on October 27, 2011, however an independent reverse-engineered open-source encoder and decoder were already available before the release.
Apache License