projects
/
profile
/
ivi
/
opencv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed many warnings from GCC 4.6.1
[profile/ivi/opencv.git]
/
modules
/
video
/
src
/
motempl.cpp
diff --git
a/modules/video/src/motempl.cpp
b/modules/video/src/motempl.cpp
index
0c7238b
..
0b5bd19
100644
(file)
--- a/
modules/video/src/motempl.cpp
+++ b/
modules/video/src/motempl.cpp
@@
-61,13
+61,9
@@
cvUpdateMotionHistory( const void* silhouette, void* mhimg,
CvSize size = cvGetMatSize( mhi );
- int mhi_step = mhi->step;
- int silh_step = silh->step;
-
if( CV_IS_MAT_CONT( mhi->type & silh->type ))
{
size.width *= size.height;
- mhi_step = silh_step = CV_STUB_STEP;
size.height = 1;
}