Which is the license of XXX?
FLAC
The source code for libFLAC and libFLAC++ is available under the BSD license, and the sources for flac, metaflac, and the plugins are available under the GNU General Public License.
BSD license GNU General Public License