We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47b1076 commit dc83774Copy full SHA for dc83774
1 file changed
src/common/SubTimeFrameFileWriter.cxx
@@ -164,7 +164,8 @@ void SubTimeFrameFileWriter::visit(const SubTimeFrame& pStf)
164
// NOTE: get only pointers to <hdr, data> struct
165
mStfData.emplace_back(&lData);
166
// account the size
167
- const auto lHdrDataSize = lData.mHeader->GetSize() + lData.mData->GetSize();
+ // NOTE: only take data header. if DPL is enabled the header stack will already have the processing header
168
+ const auto lHdrDataSize = sizeof(DataHeader) + lData.mData->GetSize();
169
170
// total size
171
mStfSize += lHdrDataSize;
0 commit comments