https://x265.readthedocs.io/en/4.1/releasenotes.html

reverted some of 4.0 api changes, so our ffmpeg patch for this probably not needed anymore if we decide to update. Memleak fixes also.

https://bitbucket.org/multicoreware/x265_git/downloads/x265_4.1.tar.gz