From 9133fdcf630192fb57b7db4e3b35839588c3451d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 8 Sep 2002 14:17:51 +0200 Subject: Implemented an SPU decoder --- osdbase.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'osdbase.h') diff --git a/osdbase.h b/osdbase.h index 39221261..605bd8e9 100644 --- a/osdbase.h +++ b/osdbase.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osdbase.h 1.5 2002/08/25 10:01:00 kls Exp $ + * $Id: osdbase.h 1.6 2002/09/08 14:12:41 kls Exp $ */ #ifndef __OSDBASE_H @@ -50,12 +50,12 @@ private: bool full; protected: typedef unsigned char tIndexes[MAXNUMCOLORS]; - void SetColor(int Index, eDvbColor Color); - eDvbColor GetColor(int Index) { return color[Index]; } public: cPalette(int Bpp); int Index(eDvbColor Color); void Reset(void); + void SetColor(int Index, eDvbColor Color); + eDvbColor GetColor(int Index) { return Index < maxColors ? color[Index] : clrBlack; } const eDvbColor *NewColors(int &FirstColor, int &LastColor); // With every call this function returns a consecutive range of // color entries that have been added since the last call. The -- cgit v1.2.3