[MPlayer-cvslog] r33228 - trunk/gui/util/bitmap.c

ib subversion at mplayerhq.hu
Thu Apr 7 00:00:59 CEST 2011


Author: ib
Date: Thu Apr  7 00:00:58 2011
New Revision: 33228

Log:
Define ext array more skillfully.

Modified:
   trunk/gui/util/bitmap.c

Modified: trunk/gui/util/bitmap.c
==============================================================================
--- trunk/gui/util/bitmap.c	Wed Apr  6 19:49:15 2011	(r33227)
+++ trunk/gui/util/bitmap.c	Thu Apr  7 00:00:58 2011	(r33228)
@@ -178,7 +178,7 @@ static void Normalize(txSample *bf)
 
 static unsigned char *fExist(unsigned char *fname)
 {
-    unsigned char *ext[] = { "png", "PNG" };
+    static const char ext[][4] = { "png", "PNG" };
     static unsigned char buf[512];
     unsigned int i;
 


More information about the MPlayer-cvslog mailing list