]> git.sesse.net Git - vlc/commitdiff
* motiondetect.c: remove useless include.
authorAntoine Cellerier <dionoea@videolan.org>
Wed, 25 Apr 2007 19:20:43 +0000 (19:20 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Wed, 25 Apr 2007 19:20:43 +0000 (19:20 +0000)
* puzzle.c: compile warning fix.

modules/video_filter/motiondetect.c
modules/video_filter/puzzle.c

index 23e415139dd32a40f9c04ded3fca4b6e9bd2b3e8..ce5244ac77831f72148100a0c46accc10432cf6a 100644 (file)
@@ -27,8 +27,6 @@
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
 
-#include <math.h>                                            /* sin(), cos() */
-
 #include <vlc/vlc.h>
 #include <vlc_sout.h>
 #include <vlc_vout.h>
index b85b32e33aabfb045b32272f9d1501263920f288..0c79ca496e7b3abc842974a43b130defe16acdcb 100644 (file)
@@ -244,7 +244,8 @@ static int Init( vout_thread_t *p_vout )
 {
     int i_index;
     picture_t *p_pic;
-    video_format_t fmt = {0};
+    video_format_t fmt;
+    memset( &fmt, 0, sizeof( video_format_t ) );
 
     I_OUTPUTPICTURES = 0;