[vlc-commits] yuvp: remove empty Close callback
Steve Lhomme
git at videolan.org
Tue Oct 6 12:51:47 CEST 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Oct 6 11:05:53 2020 +0200| [474c90392ede9916f068fcb3f860ba220d4c5b11] | committer: Steve Lhomme
yuvp: remove empty Close callback
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=474c90392ede9916f068fcb3f860ba220d4c5b11
---
modules/video_chroma/yuvp.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/modules/video_chroma/yuvp.c b/modules/video_chroma/yuvp.c
index b6149ce165..a561d944c0 100644
--- a/modules/video_chroma/yuvp.c
+++ b/modules/video_chroma/yuvp.c
@@ -41,12 +41,11 @@
* Module descriptor
*****************************************************************************/
static int Open ( vlc_object_t * );
-static void Close( vlc_object_t * );
vlc_module_begin ()
set_description( N_("YUVP converter") )
set_capability( "video converter", 10 )
- set_callbacks( Open, Close )
+ set_callback( Open )
vlc_module_end ()
/****************************************************************************
@@ -86,14 +85,6 @@ static int Open( vlc_object_t *p_this )
return VLC_SUCCESS;
}
-/*****************************************************************************
- * Close: clean up the filter
- *****************************************************************************/
-static void Close( vlc_object_t *p_this )
-{
- VLC_UNUSED(p_this );
-}
-
/****************************************************************************
* Filter: the whole thing
****************************************************************************/
More information about the vlc-commits
mailing list