[vlc-commits] t140: remove empty close callback
Steve Lhomme
git at videolan.org
Thu Jan 14 13:52:55 UTC 2021
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jan 12 10:22:29 2021 +0100| [2a604862f1dadab00938fb73aeb387242a53b28b] | committer: Steve Lhomme
t140: remove empty close callback
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a604862f1dadab00938fb73aeb387242a53b28b
---
modules/codec/t140.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/modules/codec/t140.c b/modules/codec/t140.c
index c6e997ef19..eab8b96cde 100644
--- a/modules/codec/t140.c
+++ b/modules/codec/t140.c
@@ -34,7 +34,7 @@ static void Close( vlc_object_t * );
vlc_module_begin ()
set_description( N_("T.140 text encoder") )
set_capability( "encoder", 100 )
- set_callbacks( Open, Close )
+ set_callback( Open )
vlc_module_end ()
@@ -73,12 +73,6 @@ static int Open( vlc_object_t *p_this )
}
-static void Close( vlc_object_t *p_this )
-{
- (void)p_this;
-}
-
-
static block_t *Encode( encoder_t *p_enc, subpicture_t *p_spu )
{
VLC_UNUSED( p_enc );
More information about the vlc-commits
mailing list