Commit 26c1bad8 authored by Fabian Keil's avatar Fabian Keil Committed by Rémi Duraffort

In InitGLX13(), make sure fbconf has a defined value. Otherwise the for loop may be left too early.

Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
(cherry picked from commit 857fbdbc)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 8e1a7ddf
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment