]> git.sesse.net Git - vlc/commitdiff
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 1a751547fb9a5473c9f248c1ed971203657dd495..016ec8eda96e1961c8b8fd97885464c7bc38188c 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,