Commit 20751c54 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

OpenCV example: drop an unused variable

parent f56a508a
...@@ -145,7 +145,6 @@ static void CloseFilter( vlc_object_t *p_this ) ...@@ -145,7 +145,6 @@ static void CloseFilter( vlc_object_t *p_this )
static picture_t *Filter( filter_t *p_filter, picture_t *p_pic ) static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
{ {
IplImage** p_img = NULL; IplImage** p_img = NULL;
int i_planes = 0;
CvPoint pt1, pt2; CvPoint pt1, pt2;
int i, scale = 1; int i, scale = 1;
filter_sys_t *p_sys = p_filter->p_sys; filter_sys_t *p_sys = p_filter->p_sys;
...@@ -157,7 +156,6 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic ) ...@@ -157,7 +156,6 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
} }
//(hack) cast the picture_t to array of IplImage* //(hack) cast the picture_t to array of IplImage*
p_img = (IplImage**) p_pic; p_img = (IplImage**) p_pic;
i_planes = p_pic->i_planes;
//check the image array for validity //check the image array for validity
if ((!p_img[0])) //1st plane is 'I' i.e. greyscale if ((!p_img[0])) //1st plane is 'I' i.e. greyscale
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment