diff options
author | N.N. <sevyves@users.sourceforge.net> | 2009-07-01 15:21:43 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2009-07-01 15:21:43 +0000 |
commit | dead4cfbf63c151a1640b0fc26703ae8722e17a9 (patch) | |
tree | 225cd3c6e09688d00d5b4313dc567d6ffed40e7e | |
parent | 07f7955f8fd380b729af26dcaf075dbeea036038 (diff) |
limits check
svn path=/trunk/externals/pdp_opencv/; revision=11839
-rw-r--r-- | pdp_opencv_contours_boundingrect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdp_opencv_contours_boundingrect.c b/pdp_opencv_contours_boundingrect.c index 51ecbd2..f3af564 100644 --- a/pdp_opencv_contours_boundingrect.c +++ b/pdp_opencv_contours_boundingrect.c @@ -329,7 +329,7 @@ static void pdp_opencv_contours_boundingrect_delete(t_pdp_opencv_contours_boundi { int i; - if ( ( findex < 1.0 ) || ( findex > 10 ) ) + if ( ( findex < 1.0 ) || ( findex > MAX_MARKERS ) ) { return; } |