Itseez/opencv — pull request #3472 by Dmitry-Me (2014-12-02 11:45:50+00:00)
Title: Prevent division by zero

The original code would first compute `1/focalLength` and then check that `focalLength` is positive. So if `focalLength` was zero the code would crash.

This was found with Cppcheck