Merge pull request #2845 from shaibagon:patch-1

pull/3033/head
Vadim Pisarevsky 11 years ago committed by OpenCV Buildbot
commit 052c8516a8
  1. 2
      modules/videostab/src/global_motion.cpp

@ -430,7 +430,7 @@ Mat estimateGlobalMotionRansac(
{
subset0.resize(ninliersMax);
subset1.resize(ninliersMax);
for (int i = 0, j = 0; i < npoints; ++i)
for (int i = 0, j = 0; i < npoints && j < ninliersMax ; ++i)
{
p0 = points0_[i];
p1 = points1_[i];

Loading…
Cancel
Save