summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-08-30 11:19:39 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-08-30 11:19:39 +0200
commit0709d357ce82213152f89eff5cd9d98e5943a6c1 (patch)
treed43b0c4e61cbe3a50a9305f644a5c3f7c9d2a5bd /channels.h
parente9e277e4099a359ca2244c968912dc7b477e2ae2 (diff)
downloadvdr-0709d357ce82213152f89eff5cd9d98e5943a6c1.tar.gz
vdr-0709d357ce82213152f89eff5cd9d98e5943a6c1.tar.bz2
Fixed wrong bracketing in cChannel::SubtitlingType() etc
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/channels.h b/channels.h
index c012a7d4..634fa5a3 100644
--- a/channels.h
+++ b/channels.h
@@ -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; }