eitd/SIsections.hpp: remove len argument from SIsection contructor

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3acd93a73c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-07 (Tue, 07 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-02-07 17:43:47 +04:00
parent 21d295676e
commit b1911055aa

View File

@@ -134,9 +134,11 @@ public:
//SIsection(void) { buffer = 0; bufferLength = 0;}
// Benutzt den uebergebenen Puffer (sollte mit new char[n] allokiert sein)
SIsection(unsigned bufLength, uint8_t *buf) : LongSection(buf)
SIsection(uint8_t *buf) : LongSection(buf)
{
buffer = 0; bufferLength = 0;
buffer = NULL;
bufferLength = 0;
unsigned bufLength = 3 + getSectionLength();
if ((buf) && (bufLength >= sizeof(struct SI_section_header))) {
buffer = buf;
bufferLength = bufLength;
@@ -318,7 +320,7 @@ public:
}
// Benutzt den uebergebenen Puffer (sollte mit new char[n] allokiert sein)
SIsectionEIT(unsigned bufLength, uint8_t *buf) : SIsection(bufLength, buf) {
SIsectionEIT(uint8_t *buf) : SIsection(buf) {
parsed = 0;
parse();
}
@@ -407,7 +409,7 @@ public:
}
// Benutzt den uebergebenen Puffer (sollte mit new char[n] allokiert sein)
SIsectionSDT(unsigned bufLength, uint8_t *buf) : SIsection(bufLength, buf) {
SIsectionSDT(uint8_t *buf) : SIsection(buf) {
parsed = 0;
parse();
}