[vlc-devel] commit: static const ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Mar 1 10:47:44 CET 2009


vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar  1 11:44:21 2009 +0200| [761b23b5127362ef6124fbc16c79ddd7abbba1c8] | committer: Rémi Denis-Courmont 

static const

(cherry picked from commit 39863326be73832277af40324bbc3f18c46bd23f)

Conflicts:

	modules/video_output/x11/glx.c

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=761b23b5127362ef6124fbc16c79ddd7abbba1c8
---

 modules/video_output/x11/glx.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/x11/glx.c b/modules/video_output/x11/glx.c
index f151a64..c9060ae 100644
--- a/modules/video_output/x11/glx.c
+++ b/modules/video_output/x11/glx.c
@@ -236,9 +236,10 @@ int InitGLX13( vout_thread_t *p_vout )
     int i_nbelem;
     GLXFBConfig *p_fbconfs, fbconf;
     XVisualInfo *p_vi;
-    int p_attr[] = { GLX_RED_SIZE, 5, GLX_GREEN_SIZE, 5,
-                     GLX_BLUE_SIZE, 5, GLX_DOUBLEBUFFER, True,
-                     GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, 0 };
+    static const int p_attr[] = {
+        GLX_RED_SIZE, 5, GLX_GREEN_SIZE, 5, GLX_BLUE_SIZE, 5,
+        GLX_DOUBLEBUFFER, True, GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, None,
+    };
 
     /* Get the FB configuration */
     p_fbconfs = glXChooseFBConfig( p_sys->p_display, 0, p_attr, &i_nbelem );




More information about the vlc-devel mailing list