Update of /cvsroot/xine/xine-lib/src/libspucc
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2204/src/libspucc

Modified Files:
        cc_decoder.c cc_decoder.h 
Log Message:
Make cc_schemes a static const array, rather than an exported one.

Index: cc_decoder.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/libspucc/cc_decoder.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- cc_decoder.c        25 Sep 2005 00:44:04 -0000      1.27
+++ cc_decoder.c        20 Feb 2007 00:56:36 -0000      1.28
@@ -213,13 +213,6 @@
   cc_text_solid_alpha
 };
 
-
-char *cc_schemes[NUM_CC_PALETTES + 1] = {
-  "White/Gray/Translucent",
-  "White/Black/Solid",
-  NULL
-};
-
 /* --------------------- misc. EIA 608 definitions -------------------*/
 
 #define TRANSP_SPACE 0x19   /* code for transparent space, essentially 

Index: cc_decoder.h
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/libspucc/cc_decoder.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- cc_decoder.h        5 May 2004 17:36:48 -0000       1.7
+++ cc_decoder.h        20 Feb 2007 00:56:36 -0000      1.8
@@ -33,7 +33,11 @@
 typedef struct cc_renderer_s cc_renderer_t;
 
 #define NUM_CC_PALETTES 2
-extern char *cc_schemes[NUM_CC_PALETTES + 1];
+static const char *cc_schemes[NUM_CC_PALETTES + 1] = {
+  "White/Gray/Translucent",
+  "White/Black/Solid",
+  NULL
+};
 
 #define CC_FONT_MAX 256
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog

Reply via email to