From 883cc45e4791c8f796de86e31fe72e5a6deae709 Mon Sep 17 00:00:00 2001 From: Tim Champagne Date: Tue, 6 May 2003 14:02:24 +0000 Subject: This is some general Win32 cleanup and getting ready for DVD support. CVS patchset: 4779 CVS date: 2003/05/06 14:02:24 --- src/libspucc/cc_decoder.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/libspucc/cc_decoder.c') 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] = { -- cgit v1.2.3