summaryrefslogtreecommitdiff
path: root/dvbspu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-10-26 10:47:36 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-10-26 10:47:36 +0200
commit294512863dda14bafa29d7427d9589a92dcd9059 (patch)
treeecb660ee136b5e5c435a6d92d02be9451f9bd1e9 /dvbspu.c
parent4247bf58cf0c2359a240a00e2af5e92aea4e70cc (diff)
downloadvdr-294512863dda14bafa29d7427d9589a92dcd9059.tar.gz
vdr-294512863dda14bafa29d7427d9589a92dcd9059.tar.bz2
Fixed a ternary expression in dvbspu.c
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 95edb1bc..4b31401a 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.2 2002/09/29 13:48:39 kls Exp $
+ * $Id: dvbspu.c 1.3 2002/10/26 10:46:49 kls Exp $
*/
#include <assert.h>
@@ -192,7 +192,7 @@ void cDvbSpuBitmap::putFieldData(int field, uint8_t * data, uint8_t * endp)
int len = vlc >> 2;
// if len == 0 -> end sequence - fill to end of line
- len = len ? : bmpsize.x2 - xp + 1;
+ len = len ? len : bmpsize.x2 - xp + 1;
putPixel(xp, yp, len, color);
xp += len;