[vlc-devel] [PATCH] t140: remove empty close callback

Steve Lhomme robux4 at ycbcr.xyz
Tue Jan 12 16:41:36 UTC 2021


---
 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 c6e997ef193..eab8b96cde0 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 );
-- 
2.29.2



More information about the vlc-devel mailing list