diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-02-20 13:54:14 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-02-20 13:54:14 +0100 |
commit | 402184b9da571d8bed4e6c118074d451c6b355f1 (patch) | |
tree | f60f8c5ce2ca989062899663a989c748b77bb078 /libsi/si.c | |
parent | c817c341cead8ddbb8f544d6dd5e4dbe4050af19 (diff) | |
download | vdr-402184b9da571d8bed4e6c118074d451c6b355f1.tar.gz vdr-402184b9da571d8bed4e6c118074d451c6b355f1.tar.bz2 |
Added subtable ID and TSDT handling to 'libsi'
Diffstat (limited to 'libsi/si.c')
-rw-r--r-- | libsi/si.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: si.c 1.6 2004/01/24 14:49:00 kls Exp $ + * $Id: si.c 1.7 2004/02/20 13:46:12 kls Exp $ * * ***************************************************************************/ @@ -61,6 +61,14 @@ bool CRCSection::CheckCRCAndParse() { return true; } +int NumberedSection::getTableIdExtension() const { + return getTableIdExtension(data.getData()); +} + +int NumberedSection::getTableIdExtension(const unsigned char *d) { + return HILO(((const ExtendedSectionHeader *)d)->table_id_extension); +} + bool NumberedSection::getCurrentNextIndicator() const { return data.getData<ExtendedSectionHeader>()->current_next_indicator; } |