make function in OpticalFlowDualTVL1 static

This commit is contained in:
jfmcarreira committed 2016-05-03 19:13:40 +01:00
1 parent 831c04bee3
commit 137bfa0dcf
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ Bool OpticalFlowDualTVL1::create( std::vector<PlaYUVerFrame*> apcFrameList )
return true;
}
inline bool isFlowCorrect( Point2f u )
static inline bool isFlowCorrect( Point2f u )
{
return !cvIsNaN( u.x ) && !cvIsNaN( u.y ) && fabs( u.x ) < 1e9 && fabs( u.y ) < 1e9;
}