summaryrefslogtreecommitdiff
path: root/dvbspu.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-12-13 12:16:44 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-12-13 12:16:44 +0100
commit140ed23e7e9751b2ed9acbf024ecd967a80e30bf (patch)
tree231e6664b25e97c191fcf2ec24c67b7d3758ce9d /dvbspu.h
parenta648187de4e10f73a0ee4edcaf7616f73ce2b485 (diff)
downloadvdr-140ed23e7e9751b2ed9acbf024ecd967a80e30bf.tar.gz
vdr-140ed23e7e9751b2ed9acbf024ecd967a80e30bf.tar.bz2
Some fixes to dvbspu.[hc]
Diffstat (limited to 'dvbspu.h')
-rw-r--r--dvbspu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbspu.h b/dvbspu.h
index d6f9d343..9e33e454 100644
--- a/dvbspu.h
+++ b/dvbspu.h
@@ -8,7 +8,7 @@
*
* parts of this file are derived from the OMS program.
*
- * $Id: dvbspu.h 2.3 2009/12/05 15:17:08 kls Exp $
+ * $Id: dvbspu.h 2.4 2009/12/13 12:07:00 kls Exp $
*/
#ifndef __DVBSPU_H
@@ -197,7 +197,7 @@ inline uint32_t cDvbSpuPalette::yuv2rgb(uint32_t yuv_color)
inline uint32_t cDvbSpuPalette::getColor(uint8_t idx, uint8_t trans) const
{
- return palette[idx] | (trans == 0x0f) ? 0xff000000 : (trans << 28);
+ return palette[idx] | ((trans == 0x0f) ? 0xff000000 : (trans << 28));
}
#endif // __DVBSPU_H