Commit 3dbb2d57 authored by Rémi Duraffort's avatar Rémi Duraffort

video_filter: remove unneeded function.

parent f7c1808e
...@@ -36,8 +36,6 @@ ...@@ -36,8 +36,6 @@
* Local prototypes * Local prototypes
****************************************************************************/ ****************************************************************************/
static int OpenFilter ( vlc_object_t * ); static int OpenFilter ( vlc_object_t * );
static void CloseFilter( vlc_object_t * );
static picture_t *Filter( filter_t *, picture_t * ); static picture_t *Filter( filter_t *, picture_t * );
/***************************************************************************** /*****************************************************************************
...@@ -46,7 +44,7 @@ static picture_t *Filter( filter_t *, picture_t * ); ...@@ -46,7 +44,7 @@ static picture_t *Filter( filter_t *, picture_t * );
vlc_module_begin () vlc_module_begin ()
set_description( N_("RV32 conversion filter") ) set_description( N_("RV32 conversion filter") )
set_capability( "video filter2", 1 ) set_capability( "video filter2", 1 )
set_callbacks( OpenFilter, CloseFilter ) set_callbacks( OpenFilter, NULL )
vlc_module_end () vlc_module_end ()
/***************************************************************************** /*****************************************************************************
...@@ -73,14 +71,6 @@ static int OpenFilter( vlc_object_t *p_this ) ...@@ -73,14 +71,6 @@ static int OpenFilter( vlc_object_t *p_this )
return VLC_SUCCESS; return VLC_SUCCESS;
} }
/*****************************************************************************
* CloseFilter: clean up the filter
*****************************************************************************/
static void CloseFilter( vlc_object_t *p_this )
{
(void)p_this;
}
/**************************************************************************** /****************************************************************************
* Filter: the whole thing * Filter: the whole thing
****************************************************************************/ ****************************************************************************/
......
...@@ -38,8 +38,6 @@ ...@@ -38,8 +38,6 @@
* Local prototypes * Local prototypes
****************************************************************************/ ****************************************************************************/
static int OpenFilter ( vlc_object_t * ); static int OpenFilter ( vlc_object_t * );
static void CloseFilter( vlc_object_t * );
static picture_t *Filter( filter_t *, picture_t * ); static picture_t *Filter( filter_t *, picture_t * );
/***************************************************************************** /*****************************************************************************
...@@ -48,7 +46,7 @@ static picture_t *Filter( filter_t *, picture_t * ); ...@@ -48,7 +46,7 @@ static picture_t *Filter( filter_t *, picture_t * );
vlc_module_begin () vlc_module_begin ()
set_description( N_("Video scaling filter") ) set_description( N_("Video scaling filter") )
set_capability( "video filter2", 10 ) set_capability( "video filter2", 10 )
set_callbacks( OpenFilter, CloseFilter ) set_callbacks( OpenFilter, NULL )
vlc_module_end () vlc_module_end ()
/***************************************************************************** /*****************************************************************************
...@@ -78,14 +76,6 @@ static int OpenFilter( vlc_object_t *p_this ) ...@@ -78,14 +76,6 @@ static int OpenFilter( vlc_object_t *p_this )
return VLC_SUCCESS; return VLC_SUCCESS;
} }
/*****************************************************************************
* CloseFilter: clean up the filter
*****************************************************************************/
static void CloseFilter( vlc_object_t *p_this )
{
(void)p_this;
}
/**************************************************************************** /****************************************************************************
* Filter: the whole thing * Filter: the whole thing
****************************************************************************/ ****************************************************************************/
......
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