diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-08-30 11:19:39 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-08-30 11:19:39 +0200 |
commit | 0709d357ce82213152f89eff5cd9d98e5943a6c1 (patch) | |
tree | d43b0c4e61cbe3a50a9305f644a5c3f7c9d2a5bd /channels.h | |
parent | e9e277e4099a359ca2244c968912dc7b477e2ae2 (diff) | |
download | vdr-0709d357ce82213152f89eff5cd9d98e5943a6c1.tar.gz vdr-0709d357ce82213152f89eff5cd9d98e5943a6c1.tar.bz2 |
Fixed wrong bracketing in cChannel::SubtitlingType() etc
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: channels.h 2.5 2009/08/16 14:58:26 kls Exp $ + * $Id: channels.h 2.6 2009/08/30 11:05:54 kls Exp $ */ #ifndef __CHANNELS_H @@ -188,9 +188,9 @@ public: const char *Alang(int i) const { return (0 <= i && i < MAXAPIDS) ? alangs[i] : ""; } const char *Dlang(int i) const { return (0 <= i && i < MAXDPIDS) ? dlangs[i] : ""; } const char *Slang(int i) const { return (0 <= i && i < MAXSPIDS) ? slangs[i] : ""; } - uchar SubtitlingType(int i) const { return (0 <= i && i < MAXSPIDS ? subtitlingTypes[i] : 0); } - uint16_t CompositionPageId(int i) const { return (0 <= i && i < MAXSPIDS ? compositionPageIds[i] : 0); } - uint16_t AncillaryPageId(int i) const { return (0 <= i && i < MAXSPIDS ? ancillaryPageIds[i] : 0); } + uchar SubtitlingType(int i) const { return (0 <= i && i < MAXSPIDS) ? subtitlingTypes[i] : 0; } + uint16_t CompositionPageId(int i) const { return (0 <= i && i < MAXSPIDS) ? compositionPageIds[i] : 0; } + uint16_t AncillaryPageId(int i) const { return (0 <= i && i < MAXSPIDS) ? ancillaryPageIds[i] : 0; } int Tpid(void) const { return tpid; } const int *Caids(void) const { return caids; } int Ca(int Index = 0) const { return Index < MAXCAIDS ? caids[Index] : 0; } |