kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
pull/1252/head
rodzic
78daed7879
commit
4803271115
|
@ -91,9 +91,9 @@ namespace riff {
|
|||
file.write((char*)&desc.hdr.size, sizeof(desc.hdr.size));
|
||||
file.seekp(pos);
|
||||
|
||||
// If parent chunk, increment its size
|
||||
// If parent chunk, increment its size by the size of the subchunk (adding the size of its header)
|
||||
if (!chunks.empty()) {
|
||||
chunks.top().hdr.size += desc.hdr.size;
|
||||
chunks.top().hdr.size += desc.hdr.size + 8;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue