Commit e4d638b1 authored by Edward Wang's avatar Edward Wang Committed by Jean-Baptiste Kempf

opencv_wrapper: Kill a warning

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 11f87ef6
...@@ -421,7 +421,7 @@ static picture_t* Filter( filter_t* p_filter, picture_t* p_pic ) ...@@ -421,7 +421,7 @@ static picture_t* Filter( filter_t* p_filter, picture_t* p_pic )
VlcPictureToIplImage( p_filter, p_pic ); VlcPictureToIplImage( p_filter, p_pic );
// Pass the image (as a pointer to the first IplImage*) to the // Pass the image (as a pointer to the first IplImage*) to the
// internal OpenCV filter for processing. // internal OpenCV filter for processing.
p_filter->p_sys->p_opencv->pf_video_filter( p_filter->p_sys->p_opencv, &(p_filter->p_sys->p_cv_image[0]) ); p_filter->p_sys->p_opencv->pf_video_filter( p_filter->p_sys->p_opencv, (picture_t*)&(p_filter->p_sys->p_cv_image[0]) );
if(p_filter->p_sys->i_wrapper_output == PROCESSED) { if(p_filter->p_sys->i_wrapper_output == PROCESSED) {
// Processed video // Processed video
......
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