]> git.sesse.net Git - mlt/commitdiff
remove unused function (coverity-709390)
authorDan Dennedy <dan@dennedy.org>
Mon, 23 Jul 2012 00:20:23 +0000 (17:20 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 23 Jul 2012 00:20:23 +0000 (17:20 -0700)
src/modules/videostab/stabilize.c
src/modules/videostab/stabilize.h

index 31a4204dfe03d8b2822e7b07fb5afb25e443c33b..3e04e2ad4c001c14823ae840e4ccb7b1d2629ed4 100644 (file)
@@ -796,20 +796,6 @@ struct iterdata {
 
 /*************************************************************************/
 
-/**
- * stabilize_init:  Initialize this instance of the module.  See
- * tcmodule-data.h for function details.
- */
-int stabilize_init(StabData* instance)
-{
-
-    instance = calloc(1,sizeof(StabData)); // allocation with zero values
-    if (!instance) {
-        return -1;
-    }
-    return 0;
-}
-
 /*
  * stabilize_configure:  Configure this instance of the module.  See
  * tcmodule-data.h for function details.
index 520a1f75f58b0c16d2a27076d00598e99388e2c9..8e7ac96c78d2fb64285cc1f821b290fab27318bb 100644 (file)
@@ -178,7 +178,6 @@ void drawBox(unsigned char* I, int width, int height, int bytesPerPixel,
              int x, int y, int sizex, int sizey, unsigned char color);
 void addTrans(StabData* sd, Transform sl);
 
-int stabilize_init(StabData* instance);
 int stabilize_configure(StabData* instance);
 int stabilize_stop(StabData* instance);