vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Wed Jul 24 22:26:35 2019 +0300| [7a2dd3c777c3b43fde900f5d16fc43b51a3d57c2] | committer: Rémi Denis-Courmont
edge detection: fix callback type > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a2dd3c777c3b43fde900f5d16fc43b51a3d57c2 --- modules/video_filter/edgedetection.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/video_filter/edgedetection.c b/modules/video_filter/edgedetection.c index a8da06d78f..fdeb003684 100644 --- a/modules/video_filter/edgedetection.c +++ b/modules/video_filter/edgedetection.c @@ -46,7 +46,7 @@ * Local prototypes *****************************************************************************/ static int Open( vlc_object_t * ); -static int Close( vlc_object_t * ); +static void Close( vlc_object_t * ); static picture_t *new_frame( filter_t * ); static picture_t *Filter( filter_t *, picture_t * ); static uint8_t sobel( const uint8_t *, const int, const int, int, int); @@ -131,11 +131,10 @@ static int Open( vlc_object_t *p_this ) /****************************************************************************** * Closes the filter and cleans up all dynamically allocated data. ******************************************************************************/ -static int Close( vlc_object_t *p_this ) +static void Close( vlc_object_t *p_this ) { filter_t *p_filter = (filter_t *)p_this; filter_chain_Delete( (filter_chain_t *)p_filter->p_sys ); - return VLC_SUCCESS; } /* ***************************************************************************** _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
