summaryrefslogtreecommitdiff
path: root/src/libspucc/cc_decoder.c
diff options
context:
space:
mode:
authorTim Champagne <tchamp@users.sourceforge.net>2003-05-06 14:02:24 +0000
committerTim Champagne <tchamp@users.sourceforge.net>2003-05-06 14:02:24 +0000
commit883cc45e4791c8f796de86e31fe72e5a6deae709 (patch)
tree6a72b90346d9ce418d140588b78e9674ccc2f321 /src/libspucc/cc_decoder.c
parent476abbd3d2c89c3951d9144f2f483e9d9e551a75 (diff)
downloadxine-lib-883cc45e4791c8f796de86e31fe72e5a6deae709.tar.gz
xine-lib-883cc45e4791c8f796de86e31fe72e5a6deae709.tar.bz2
This is some general Win32 cleanup and getting ready for DVD support.
CVS patchset: 4779 CVS date: 2003/05/06 14:02:24
Diffstat (limited to 'src/libspucc/cc_decoder.c')
-rw-r--r--src/libspucc/cc_decoder.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libspucc/cc_decoder.c b/src/libspucc/cc_decoder.c
index ca52f869e..5c47b4a53 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.20 2003/03/26 11:06:55 miguelfreitas Exp $
+ * $Id: cc_decoder.c,v 1.21 2003/05/06 14:02:26 tchamp Exp $
*
* stuff needed to provide closed captioning decoding and display
*
@@ -62,8 +62,15 @@
/* number of text colors specified by EIA-608 standard */
#define NUM_FG_COL 7
+#ifndef _MSC_VER
/* colors specified by the EIA 608 standard */
enum { WHITE, GREEN, BLUE, CYAN, RED, YELLOW, MAGENTA, BLACK, TRANSPARENT };
+#else
+/* colors specified by the EIA 608 standard */
+enum { WHITE, GREEN, BLUE, CYAN, RED, YELLOW, MAGENTA, BLACK };
+#endif
+
+
/* color mapping to OSD text color indices */
static int text_colormap[NUM_FG_COL] = {