Fixed an uninitialized value in opengl.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 13 Dec 2009 12:14:53 +0000 (13:14 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 13 Dec 2009 12:52:37 +0000 (13:52 +0100)
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,