Removed a debug message
This commit is contained in:
parent
afef126295
commit
fcf540af8e
1 changed files with 0 additions and 1 deletions
|
@ -923,7 +923,6 @@ namespace TS {
|
||||||
unsigned int loc = 4 + (AdaptationField() > 1 ? AdaptationFieldLen() + 1 : 0) + getOffset() + getSectionLength();
|
unsigned int loc = 4 + (AdaptationField() > 1 ? AdaptationFieldLen() + 1 : 0) + getOffset() + getSectionLength();
|
||||||
unsigned int newVal;//this will hold the CRC32 value;
|
unsigned int newVal;//this will hold the CRC32 value;
|
||||||
unsigned int pidLoc = 4 + (AdaptationField() > 1 ? AdaptationFieldLen() + 1 : 0) + getOffset() + 1;//location of PCRPID
|
unsigned int pidLoc = 4 + (AdaptationField() > 1 ? AdaptationFieldLen() + 1 : 0) + getOffset() + 1;//location of PCRPID
|
||||||
INFO_MSG("Calculating checksum from offset %d, over %d bytes", pidLoc, loc - pidLoc);
|
|
||||||
newVal = checksum::crc32(-1, strBuf.c_str() + pidLoc, loc - pidLoc);//calculating checksum over all the fields from table ID to the last stream element
|
newVal = checksum::crc32(-1, strBuf.c_str() + pidLoc, loc - pidLoc);//calculating checksum over all the fields from table ID to the last stream element
|
||||||
if (strBuf.size() < 188) {
|
if (strBuf.size() < 188) {
|
||||||
strBuf.resize(188);
|
strBuf.resize(188);
|
||||||
|
|
Loading…
Add table
Reference in a new issue