mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
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:
@@ -134,9 +134,11 @@ public:
|
|||||||
//SIsection(void) { buffer = 0; bufferLength = 0;}
|
//SIsection(void) { buffer = 0; bufferLength = 0;}
|
||||||
|
|
||||||
// Benutzt den uebergebenen Puffer (sollte mit new char[n] allokiert sein)
|
// 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))) {
|
if ((buf) && (bufLength >= sizeof(struct SI_section_header))) {
|
||||||
buffer = buf;
|
buffer = buf;
|
||||||
bufferLength = bufLength;
|
bufferLength = bufLength;
|
||||||
@@ -318,7 +320,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Benutzt den uebergebenen Puffer (sollte mit new char[n] allokiert sein)
|
// 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;
|
parsed = 0;
|
||||||
parse();
|
parse();
|
||||||
}
|
}
|
||||||
@@ -407,7 +409,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Benutzt den uebergebenen Puffer (sollte mit new char[n] allokiert sein)
|
// 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;
|
parsed = 0;
|
||||||
parse();
|
parse();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user