summaryrefslogtreecommitdiff
path: root/dvbspu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-08-07 12:08:40 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-08-07 12:08:40 +0200
commit1173d8d359ffdf43fc48073eeb640534cab0be89 (patch)
treeb0869a621247403bed6a9ce8b2cba9415f5592c2 /dvbspu.c
parent7d54c997ab0bd1ce248e4dbc18d21a2dd0fe2934 (diff)
downloadvdr-1173d8d359ffdf43fc48073eeb640534cab0be89.tar.gz
vdr-1173d8d359ffdf43fc48073eeb640534cab0be89.tar.bz2
Fixed cDvbSpuBitmap::putPixel()
Diffstat (limited to 'dvbspu.c')
-rw-r--r--dvbspu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbspu.c b/dvbspu.c
index 9c8da3b4..d9730c57 100644
--- a/dvbspu.c
+++ b/dvbspu.c
@@ -8,7 +8,7 @@
*
* parts of this file are derived from the OMS program.
*
- * $Id: dvbspu.c 1.14 2005/05/07 11:13:48 kls Exp $
+ * $Id: dvbspu.c 1.15 2005/08/07 12:06:32 kls Exp $
*/
#include <assert.h>
@@ -155,7 +155,7 @@ void cDvbSpuBitmap::putPixel(int xp, int yp, int len, uint8_t colorid)
setMin(minsize[colorid].x1, xp);
setMin(minsize[colorid].y1, yp);
setMax(minsize[colorid].x2, xp + len - 1);
- setMax(minsize[colorid].y2, yp + len - 1);
+ setMax(minsize[colorid].y2, yp);
}
static uint8_t getBits(uint8_t * &data, uint8_t & bitf)