motioncells: fully construct MotionCells
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Thu, 31 Mar 2016 15:08:12 +0000 (16:08 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Thu, 31 Mar 2016 15:12:04 +0000 (16:12 +0100)
commit9d7b525f1956c33b6a8c08100ce94ea6137b7d14
treec0a4ecd6c37e1d5991ed5d9e25a79faed1995532
parent8b310665c50e9c3dc78a3b1381bec84a899c78d4
motioncells: fully construct MotionCells

Some members of MotionCells were not being initialized in the constructor.
Protect from potential garbage memory usage by fully initializing it.
Moving m_frameSize out of the class because it is only used in
performDetectionMotionCells().

CID 1197704
ext/opencv/MotionCells.cpp
ext/opencv/MotionCells.h