summaryrefslogtreecommitdiff
path: root/libsi/descriptor.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-25 10:21:29 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-25 10:21:29 +0100
commit6a0a6c15c0393e837857b4e13fbe3518d2c2b2d5 (patch)
treeefcb4ef12d86cf989d2ad1d45f0be2657cbde0e4 /libsi/descriptor.c
parent39cefd4b276550e4ea9f080c4e85c4b4a2b828ed (diff)
downloadvdr-6a0a6c15c0393e837857b4e13fbe3518d2c2b2d5.tar.gz
vdr-6a0a6c15c0393e837857b4e13fbe3518d2c2b2d5.tar.bz2
Fixed the 'libsi' function CharArray::checkSize(), which made a previous workaround in libsi/descriptor.c obsolete
Diffstat (limited to 'libsi/descriptor.c')
-rw-r--r--libsi/descriptor.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libsi/descriptor.c b/libsi/descriptor.c
index 6a3af9fe..b84e2c44 100644
--- a/libsi/descriptor.c
+++ b/libsi/descriptor.c
@@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: descriptor.c 1.17 2006/02/18 11:02:25 kls Exp $
+ * $Id: descriptor.c 1.18 2006/02/25 10:06:05 kls Exp $
* *
***************************************************************************/
@@ -331,8 +331,6 @@ void CaDescriptor::Parse() {
data.setPointerAndOffset<const descr_ca>(s, offset);
if (checkSize(getLength()-offset))
privateData.assign(data.getData(offset), getLength()-offset);
- else
- privateData.assign(NULL, 0);
}
int StreamIdentifierDescriptor::getComponentTag() const {
@@ -640,8 +638,6 @@ void LinkageDescriptor::Parse() {
data.setPointerAndOffset<const descr_linkage>(s, offset);
if (checkSize(getLength()-offset))
privateData.assign(data.getData(offset), getLength()-offset);
- else
- privateData.assign(NULL, 0);
}
int LinkageDescriptor::getTransportStreamId() const {