git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
371d024
)
In InitGLX13(), make sure fbconf has a defined value. Otherwise the for loop may...
author
Fabian Keil
<fk@fabiankeil.de>
Thu, 2 Jul 2009 18:48:27 +0000
(20:48 +0200)
committer
Rémi Duraffort
<ivoire@videolan.org>
Fri, 3 Jul 2009 07:44:29 +0000
(09:44 +0200)
Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
modules/video_output/x11/glx.c
patch
|
blob
|
history
diff --git
a/modules/video_output/x11/glx.c
b/modules/video_output/x11/glx.c
index
eb51ba6
..
14ac5ed
100644
(file)
--- a/
modules/video_output/x11/glx.c
+++ b/
modules/video_output/x11/glx.c
@@
-234,7
+234,7
@@
int InitGLX13( vout_thread_t *p_vout )
{
vout_sys_t *p_sys = p_vout->p_sys;
int i_nb, ret = VLC_EGENERIC;
- GLXFBConfig *p_fbconfs = NULL, fbconf;
+ GLXFBConfig *p_fbconfs = NULL, fbconf
= NULL
;
XWindowAttributes att;
static const int p_attr[] = {
GLX_RED_SIZE, 5, GLX_GREEN_SIZE, 5, GLX_BLUE_SIZE, 5,