Made TS packet resize on right times
CRC checksum is now a library call
This commit is contained in:
parent
2e0b73f726
commit
6260df4a32
5 changed files with 133 additions and 86 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <cstdlib>
|
||||
#include <algorithm>
|
||||
#include "dtsc.h"
|
||||
#include "checksum.h"
|
||||
|
||||
/// Holds all TS processing related code.
|
||||
namespace TS {
|
||||
|
@ -138,7 +139,7 @@ namespace TS {
|
|||
short getESInfoLength(short index);
|
||||
void setESInfoLength(short newVal,short index);
|
||||
int getCRC();
|
||||
void setCRC(int newVal);
|
||||
void calcCRC();
|
||||
std::string toPrettyString(size_t indent);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue