1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a ternary expression in dvbspu.c

This commit is contained in:
Klaus Schmidinger 2002-10-26 10:47:36 +02:00
parent 4247bf58cf
commit 294512863d
2 changed files with 3 additions and 2 deletions

View File

@ -1639,3 +1639,4 @@ Video Disk Recorder Revision History
helping to fix it). helping to fix it).
- Fixed channel switching in case of an active 'Transfer Mode' on the primary - Fixed channel switching in case of an active 'Transfer Mode' on the primary
device ('Transfer Mode' is now launched with priority '-1'). device ('Transfer Mode' is now launched with priority '-1').
- Fixed a ternary expression in dvbspu.c.

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 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> #include <assert.h>
@ -192,7 +192,7 @@ void cDvbSpuBitmap::putFieldData(int field, uint8_t * data, uint8_t * endp)
int len = vlc >> 2; int len = vlc >> 2;
// if len == 0 -> end sequence - fill to end of line // 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); putPixel(xp, yp, len, color);
xp += len; xp += len;