make function in OpticalFlowDualTVL1 static
This commit is contained in:
1 parent
831c04bee3
commit
137bfa0dcf
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user