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

git version control git at videolan.org
Tue Feb 24 18:01:09 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Feb 24 19:00:47 2009 +0200| [39863326be73832277af40324bbc3f18c46bd23f] | committer: Rémi Denis-Courmont 

static const

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

 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 6ad4158..b2553ca 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, None, };
+    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