Reverted change to cDvbSpuBitmap::getMinBpp()

This commit is contained in:
Klaus Schmidinger 2009-12-24 10:52:23 +01:00
parent 64b6642851
commit 37850dfa87
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
* *
* parts of this file are derived from the OMS program. * 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" #include "dvbspu.h"
@ -348,7 +348,7 @@ int cDvbSpuBitmap::getMinBpp(const aDvbSpuPalDescr paldescr)
col++; col++;
} }
} }
return col > 2 ? 4 : 1; return col > 2 ? 4 : 2;
} }
int cDvbSpuDecoder::CalcAreaBpp(cBitmap *fgbmp, cBitmap *bgbmp) int cDvbSpuDecoder::CalcAreaBpp(cBitmap *fgbmp, cBitmap *bgbmp)