hevc: cleaning up and removing warnings