Itseez/opencv — pull request #3392 by wangyan42164 (2014-11-06 04:52:42+00:00)
Title: Fix HoughLines crashes (Bug #3959).

Avoid phi exceed PI/2 to get the negative value of cos(phi).