summaryrefslogtreecommitdiff
path: root/libsi/si.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-20 13:54:14 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-20 13:54:14 +0100
commit402184b9da571d8bed4e6c118074d451c6b355f1 (patch)
treef60f8c5ce2ca989062899663a989c748b77bb078 /libsi/si.c
parentc817c341cead8ddbb8f544d6dd5e4dbe4050af19 (diff)
downloadvdr-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.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/libsi/si.c b/libsi/si.c
index 0aa9c524..b952fb51 100644
--- a/libsi/si.c
+++ b/libsi/si.c
@@ -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;
}