From 37850dfa87b1c2402f9720d6b4adee5abb0d3ca9 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 24 Dec 2009 10:52:23 +0100 Subject: Reverted change to cDvbSpuBitmap::getMinBpp() --- dvbspu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvbspu.c b/dvbspu.c index f74febdd..c3a33ba7 100644 --- a/dvbspu.c +++ b/dvbspu.c @@ -8,7 +8,7 @@ * * parts of this file are derived from the OMS program. * - * $Id: dvbspu.c 2.5 2009/12/13 12:10:03 kls Exp $ + * $Id: dvbspu.c 2.6 2009/12/24 10:52:23 kls Exp $ */ #include "dvbspu.h" @@ -348,7 +348,7 @@ int cDvbSpuBitmap::getMinBpp(const aDvbSpuPalDescr paldescr) col++; } } - return col > 2 ? 4 : 1; + return col > 2 ? 4 : 2; } int cDvbSpuDecoder::CalcAreaBpp(cBitmap *fgbmp, cBitmap *bgbmp) -- cgit v1.2.3