Commit b7089693 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3832 from Dmitry-Me:fixNullPointerDereference3

parents 8cf45ce0 52a8d37f
......@@ -1595,7 +1595,10 @@ void cvCalibrationMatrixValues( const CvMat *calibMatr, CvSize imgSize,
my = imgHeight / apertureHeight;
} else {
mx = 1.0;
if(pasp)
my = *pasp;
else
my = 1.0;
}
/* Calculate fovx and fovy. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment