TS MP3 works mostly, but PMT has wrong checksum

This commit is contained in:
ozzay 2014-08-15 15:11:32 +02:00
parent 6260df4a32
commit 827656b6dc
4 changed files with 169 additions and 8 deletions

View file

@ -349,7 +349,7 @@ namespace OGG {
long unsigned int retVal = 0;
long unsigned int oldChecksum = getCRCChecksum();
setCRCChecksum(0);
retVal = checksum::crc32(0, data, getPageSize());
retVal = checksum::crc32c(0, data, getPageSize());
setCRCChecksum(oldChecksum);
return retVal;
}