[vlc-commits] sout_dummy: remove useless code
Rémi Denis-Courmont
git at videolan.org
Sat Feb 21 11:24:21 CET 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 21 11:06:24 2015 +0200| [dffd8461d536c96e6f0e95d483868a302075be1b] | committer: Rémi Denis-Courmont
sout_dummy: remove useless code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dffd8461d536c96e6f0e95d483868a302075be1b
---
modules/stream_out/dummy.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/modules/stream_out/dummy.c b/modules/stream_out/dummy.c
index fee71ec..77b19d2 100644
--- a/modules/stream_out/dummy.c
+++ b/modules/stream_out/dummy.c
@@ -38,7 +38,6 @@
* Exported prototypes
*****************************************************************************/
static int Open ( vlc_object_t * );
-static void Close ( vlc_object_t * );
static sout_stream_id_sys_t *Add ( sout_stream_t *, es_format_t * );
static void Del ( sout_stream_t *, sout_stream_id_sys_t * );
@@ -51,7 +50,7 @@ vlc_module_begin ()
set_description( N_("Dummy stream output") )
set_capability( "sout stream", 50 )
add_shortcut( "dummy", "drop" )
- set_callbacks( Open, Close )
+ set_callbacks( Open, NULL )
vlc_module_end ()
/*****************************************************************************
@@ -70,14 +69,6 @@ static int Open( vlc_object_t *p_this )
return VLC_SUCCESS;
}
-/*****************************************************************************
- * Close:
- *****************************************************************************/
-static void Close( vlc_object_t * p_this )
-{
- (void)p_this;
-}
-
static sout_stream_id_sys_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
{
VLC_UNUSED(p_stream); VLC_UNUSED(p_fmt);
More information about the vlc-commits
mailing list