diff options
-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; } |