vlc | branch: master | Steve Lhomme <rob...@ycbcr.xyz> | Tue Jan 12 10:49:11 2021 +0100| [c32a3b4cf543580f5a191b139e9743752a6966e9] | committer: Steve Lhomme
edummy: remove empty close callback > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c32a3b4cf543580f5a191b139e9743752a6966e9 --- modules/codec/edummy.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/modules/codec/edummy.c b/modules/codec/edummy.c index d554f441b7..89ad5f6c2e 100644 --- a/modules/codec/edummy.c +++ b/modules/codec/edummy.c @@ -32,13 +32,12 @@ #include <vlc_codec.h> static int OpenEncoder( vlc_object_t * ); -static void CloseEncoder( vlc_object_t * ); vlc_module_begin () set_shortname( N_("Dummy") ) set_description( N_("Dummy encoder") ) set_capability( "encoder", 0 ) - set_callbacks( OpenEncoder, CloseEncoder ) + set_callback( OpenEncoder ) add_shortcut( "dummy" ) vlc_module_end () @@ -79,11 +78,3 @@ static block_t *EncodeAudio( encoder_t *p_enc, block_t *p_buf ) VLC_UNUSED(p_enc); VLC_UNUSED(p_buf); return NULL; } - -/***************************************************************************** - * CloseDecoder: decoder destruction - *****************************************************************************/ -static void CloseEncoder( vlc_object_t *p_this ) -{ - VLC_UNUSED(p_this); -} _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits