mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-12 05:49:56 -04:00
fix: update header size for Wave 64 format
This commit is contained in:
parent
cebfea15c1
commit
a284aecc35
@ -316,12 +316,13 @@ class iff_parser final {
|
||||
c.reset();
|
||||
return c;
|
||||
}
|
||||
pos_ += c->header.size;
|
||||
c->header.size -= sizeof(ChunkHeaderType);
|
||||
} else {
|
||||
pos_ += sizeof(ChunkHeaderType);
|
||||
pos_ += c->header.size;
|
||||
}
|
||||
|
||||
pos_ += c->header.size;
|
||||
|
||||
if (pos_ > data_.size()) {
|
||||
LOG_WARN << "[" << name_ << "] " << path_
|
||||
<< ": unexpected end of file (pos=" << pos_
|
||||
|
Loading…
x
Reference in New Issue
Block a user