[vlc-commits] video_filter/invert: remove empty Destroy callback

Steve Lhomme git at videolan.org
Fri Oct 9 13:41:11 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Oct  8 12:56:53 2020 +0200| [6e359fc9800c8c53ca324a8ba630d56658d1cdec] | committer: Steve Lhomme

video_filter/invert: remove empty Destroy callback

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e359fc9800c8c53ca324a8ba630d56658d1cdec
---

 modules/video_filter/invert.c | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/modules/video_filter/invert.c b/modules/video_filter/invert.c
index 632635ce58..e147b38cb6 100644
--- a/modules/video_filter/invert.c
+++ b/modules/video_filter/invert.c
@@ -38,7 +38,6 @@
  * Local prototypes
  *****************************************************************************/
 static int  Create      ( vlc_object_t * );
-static void Destroy     ( vlc_object_t * );
 
 static picture_t *Filter( filter_t *, picture_t * );
 
@@ -52,7 +51,7 @@ vlc_module_begin ()
     set_subcategory( SUBCAT_VIDEO_VFILTER )
     set_capability( "video filter", 0 )
     add_shortcut( "invert" )
-    set_callbacks( Create, Destroy )
+    set_callback( Create )
 vlc_module_end ()
 
 /*****************************************************************************
@@ -84,16 +83,6 @@ static int Create( vlc_object_t *p_this )
     return VLC_SUCCESS;
 }
 
-/*****************************************************************************
- * Destroy: destroy Invert video thread output method
- *****************************************************************************
- * Terminate an output method created by InvertCreateOutputMethod
- *****************************************************************************/
-static void Destroy( vlc_object_t *p_this )
-{
-    (void)p_this;
-}
-
 /*****************************************************************************
  * Render: displays previously rendered output
  *****************************************************************************



More information about the vlc-commits mailing list