summaryrefslogtreecommitdiff
path: root/src/libspucc/cc_decoder.h
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@civ.zcu.cz>2008-11-20 20:56:19 +0100
committerFrantišek Dvořák <valtri@civ.zcu.cz>2008-11-20 20:56:19 +0100
commitea2b5508e35f5125fd65730822b30bb8895ad87d (patch)
treee03317e974e1bf818ca50904242595fa01db25df /src/libspucc/cc_decoder.h
parent2ba1e128cbb791cfdb2829895a854bb664018912 (diff)
downloadxine-lib-ea2b5508e35f5125fd65730822b30bb8895ad87d.tar.gz
xine-lib-ea2b5508e35f5125fd65730822b30bb8895ad87d.tar.bz2
Some warning fixes: XINE_FORMAT_SCANF, statics in headers, consts, ...
Add warning flags to the DEBUG_CFLAGS too.
Diffstat (limited to 'src/libspucc/cc_decoder.h')
-rw-r--r--src/libspucc/cc_decoder.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libspucc/cc_decoder.h b/src/libspucc/cc_decoder.h
index 8698189a6..47703b6d1 100644
--- a/src/libspucc/cc_decoder.h
+++ b/src/libspucc/cc_decoder.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000-2003 the xine project
+ * Copyright (C) 2000-2008 the xine project
*
* Copyright (C) Christian Vogler
* cvogler@gradient.cis.upenn.edu - December 2001
@@ -31,11 +31,7 @@ typedef struct cc_decoder_s cc_decoder_t;
typedef struct cc_renderer_s cc_renderer_t;
#define NUM_CC_PALETTES 2
-static const char *cc_schemes[NUM_CC_PALETTES + 1] = {
- "White/Gray/Translucent",
- "White/Black/Solid",
- NULL
-};
+extern const char *cc_schemes[];
#define CC_FONT_MAX 256