[vlc-devel] commit: Fixed an uninitialized value in opengl. (Laurent Aimar )
git version control
git at videolan.org
Sun Dec 13 13:53:41 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 13 13:14:53 2009 +0100| [68f7bc2b517966f2171d0b1683c29d179271878e] | committer: Laurent Aimar
Fixed an uninitialized value in opengl.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=68f7bc2b517966f2171d0b1683c29d179271878e
---
modules/video_output/opengl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index 1a75154..016ec8e 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -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,
More information about the vlc-devel
mailing list