vlc | branch: master | Tristan Matthews <[email protected]> | Mon Aug 31 12:30:54 2015 -0400| [caa0d1e700dc483215aeb00a6ad9fd10c34f503b] | committer: Tristan Matthews
video_filter: opencv_example: use C++ loop declaration > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=caa0d1e700dc483215aeb00a6ad9fd10c34f503b --- modules/video_filter/opencv_example.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/video_filter/opencv_example.cpp b/modules/video_filter/opencv_example.cpp index 998f286..fc022e3 100644 --- a/modules/video_filter/opencv_example.cpp +++ b/modules/video_filter/opencv_example.cpp @@ -149,7 +149,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic ) { IplImage** p_img = NULL; CvPoint pt1, pt2; - int i, scale = 1; + int scale = 1; filter_sys_t *p_sys = p_filter->p_sys; if ((!p_pic) ) @@ -189,7 +189,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic ) } //populate the video_filter_region_info_t struct - for( i = 0; i < (faces ? faces->total : 0); i++ ) + for( int i = 0; i < (faces ? faces->total : 0); i++ ) { CvRect *r = (CvRect*)cvGetSeqElem( faces, i ); pt1.x = r->x*scale; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
