Made TS packet resize on right times

CRC checksum is now a library call
This commit is contained in:
ozzay 2014-08-13 16:53:49 +02:00
parent 2e0b73f726
commit 6260df4a32
5 changed files with 133 additions and 86 deletions

View file

@ -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);
};