]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/clone.c
Fix another bunch of: (near initialization for `fmt.i_aspect') warnings.
[vlc] / modules / video_filter / clone.c
index bdb6fd6f11721b2fbcd5296829aa3aa503751c2c..2b24788b0417e4dfe589dc46fdc93c183034d235 100644 (file)
@@ -217,9 +217,10 @@ static int Init( vout_thread_t *p_vout )
     int   i_index, i_vout;
     picture_t *p_pic;
     char *psz_default_vout;
-    video_format_t fmt = {0};
+    video_format_t fmt;
 
     I_OUTPUTPICTURES = 0;
+    memset( &fmt, 0, sizeof(video_format_t) );
 
     /* Initialize the output structure */
     p_vout->output.i_chroma = p_vout->render.i_chroma;