In a few minutes seach I found https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding:

On November 22, 2016, HEVC Advance announced a major initiative, revising their policy to allow software implementations of HEVC to be distributed directly to consumer mobile devices and personal computers royalty free, without requiring a patent license.

More info: http://www.prnewswire.com/news-releases/hevc-advance-announces-royalty-free-hevc-software-300367212.html

I conculde that in software free to the enduser no fee is required for HEVC aka H265.