vlc | branch: master | Edward Wang <[email protected]> | Sat Aug 11 
19:17:45 2012 -0400| [e4d638b120afd4f9d6e860c18f53368f017e5d96] | committer: 
Jean-Baptiste Kempf

opencv_wrapper: Kill a warning

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4d638b120afd4f9d6e860c18f53368f017e5d96
---

 modules/video_filter/opencv_wrapper.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/opencv_wrapper.c 
b/modules/video_filter/opencv_wrapper.c
index ed535e2..1227353 100644
--- a/modules/video_filter/opencv_wrapper.c
+++ b/modules/video_filter/opencv_wrapper.c
@@ -421,7 +421,7 @@ static picture_t* Filter( filter_t* p_filter, picture_t* 
p_pic )
     VlcPictureToIplImage( p_filter, p_pic );
     // Pass the image (as a pointer to the first IplImage*) to the
     // 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) {
         // Processed video

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to