[alac](https://github.com/mikebrady/alac) has a long list of bugs and [security issues](https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=alac). Please consider replacing it with [ffmpeg](https://ffmpeg.org/doxygen/0.6/alac_8c.html). This has been prompted by [this](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264186) FreeBSD issue.