diff --git a/modules/videostab/src/motion_stabilizing.cpp b/modules/videostab/src/motion_stabilizing.cpp index b72b7562e8..e0cf55aaee 100644 --- a/modules/videostab/src/motion_stabilizing.cpp +++ b/modules/videostab/src/motion_stabilizing.cpp @@ -213,7 +213,6 @@ Mat ensureInclusionConstraint(const Mat &M, Size size, float trimRatio) r = t; else l = t; - t = r; } return (1 - r) * M + r * Mat::eye(3, 3, CV_32F);