summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-02-20 00:56:36 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-02-20 00:56:36 +0000
commit0e447cf72eb6d7c44dad3647ea21c7567742cf1e (patch)
tree5d0ff35f417a2db2a2b2ddf66a87234235033125
parent35c39badb1b0b66a16da10e510eb755eed1afb25 (diff)
downloadxine-lib-0e447cf72eb6d7c44dad3647ea21c7567742cf1e.tar.gz
xine-lib-0e447cf72eb6d7c44dad3647ea21c7567742cf1e.tar.bz2
Make cc_schemes a static const array, rather than an exported one.
CVS patchset: 8613 CVS date: 2007/02/20 00:56:36
-rw-r--r--src/libspucc/cc_decoder.c9
-rw-r--r--src/libspucc/cc_decoder.h8
2 files changed, 7 insertions, 10 deletions
diff --git a/src/libspucc/cc_decoder.c b/src/libspucc/cc_decoder.c
index 4acd2cf0e..ba688accf 100644
--- a/src/libspucc/cc_decoder.c
+++ b/src/libspucc/cc_decoder.c
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: cc_decoder.c,v 1.27 2005/09/25 00:44:04 miguelfreitas Exp $
+ * $Id: cc_decoder.c,v 1.28 2007/02/20 00:56:36 dgp85 Exp $
*
* stuff needed to provide closed captioning decoding and display
*
@@ -213,13 +213,6 @@ static uint8_t *cc_alpha_palettes[NUM_CC_PALETTES] = {
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
diff --git a/src/libspucc/cc_decoder.h b/src/libspucc/cc_decoder.h
index 1e298515e..0e7fb69a5 100644
--- a/src/libspucc/cc_decoder.h
+++ b/src/libspucc/cc_decoder.h
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: cc_decoder.h,v 1.7 2004/05/05 17:36:48 mroi Exp $
+ * $Id: cc_decoder.h,v 1.8 2007/02/20 00:56:36 dgp85 Exp $
*
* stuff needed to provide closed captioning decoding and display
*
@@ -33,7 +33,11 @@ typedef struct cc_decoder_s cc_decoder_t;
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