[MPlayer-cvslog] r25267 - trunk/libvo/vo_x11.c

reimar subversion at mplayerhq.hu
Sun Dec 2 21:43:35 CET 2007


Author: reimar
Date: Sun Dec  2 21:43:35 2007
New Revision: 25267

Log:
Format mapping table should be const


Modified:
   trunk/libvo/vo_x11.c

Modified: trunk/libvo/vo_x11.c
==============================================================================
--- trunk/libvo/vo_x11.c	(original)
+++ trunk/libvo/vo_x11.c	Sun Dec  2 21:43:35 2007
@@ -268,7 +268,7 @@ static void freeMyXImage(void)
 #define BO_NATIVE    LSBFirst
 #define BO_NONNATIVE MSBFirst
 #endif
-struct fmt2Xfmtentry_s {
+const struct fmt2Xfmtentry_s {
   uint32_t mpfmt;
   int byte_order;
   unsigned red_mask;
@@ -316,7 +316,7 @@ static int config(uint32_t width, uint32
     Colormap theCmap;
     XSetWindowAttributes xswa;
     unsigned long xswamask;
-    struct fmt2Xfmtentry_s *fmte = fmt2Xfmt;
+    const struct fmt2Xfmtentry_s *fmte = fmt2Xfmt;
 
 #ifdef HAVE_XF86VM
     unsigned int modeline_width, modeline_height;



More information about the MPlayer-cvslog mailing list