Fixed an uninitialized value in opengl.
[vlc.git] / modules / video_output / opengl.c
index 1a75154..016ec8e 100644 (file)
@@ -210,6 +210,7 @@ static int Init( vout_thread_t *p_vout )
     p_sys->gl.sys = p_sys->p_vout;
 
     video_format_t fmt;
+    video_format_Init( &fmt, 0 );
     video_format_Setup( &fmt,
                         p_vout->render.i_chroma,
                         p_vout->render.i_width,