Commit 162dc498 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

access_out_dummy: remove useless Close()

parent e32479ca
......@@ -38,7 +38,6 @@
* Module descriptor
*****************************************************************************/
static int Open ( vlc_object_t * );
static void Close( vlc_object_t * );
vlc_module_begin ()
set_description( N_("Dummy stream output") )
......@@ -47,7 +46,7 @@ vlc_module_begin ()
set_category( CAT_SOUT )
set_subcategory( SUBCAT_SOUT_ACO )
add_shortcut( "dummy" )
set_callbacks( Open, Close )
set_callbacks( Open, NULL )
vlc_module_end ()
......@@ -63,22 +62,11 @@ static int Open( vlc_object_t *p_this )
{
sout_access_out_t *p_access = (sout_access_out_t*)p_this;
p_access->p_sys = NULL;
p_access->pf_write = Write;
msg_Dbg( p_access, "dummy stream output access opened" );
return VLC_SUCCESS;
}
/*****************************************************************************
* Close: close the target
*****************************************************************************/
static void Close( vlc_object_t * p_this )
{
sout_access_out_t *p_access = (sout_access_out_t*)p_this;
msg_Dbg( p_access, "dummy stream output access closed" );
}
/*****************************************************************************
* Read: standard read on a file descriptor.
*****************************************************************************/
......
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