]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/motiondetect.c
hotkeys: use the new object locking API
[vlc] / modules / video_filter / motiondetect.c
index 23e415139dd32a40f9c04ded3fca4b6e9bd2b3e8..23647b0fa17eaa0aef66d9ac8fa72449a90d16bb 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>
-
-#include <math.h>                                            /* sin(), cos() */
 
 #include <vlc/vlc.h>
 #include <vlc_sout.h>
@@ -223,7 +219,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_inpic )
             msg_Warn( p_filter, "Not taking chroma into account" );
             break;
     }
-    format = 0;
+
+    //format = 0;
     if( format )
     {
         for( line = 0; line < i_num_lines_u; line++ )