mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-13 06:16:55 -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();
|
c.reset();
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
pos_ += c->header.size;
|
||||||
|
c->header.size -= sizeof(ChunkHeaderType);
|
||||||
} else {
|
} else {
|
||||||
pos_ += sizeof(ChunkHeaderType);
|
pos_ += sizeof(ChunkHeaderType);
|
||||||
|
pos_ += c->header.size;
|
||||||
}
|
}
|
||||||
|
|
||||||
pos_ += c->header.size;
|
|
||||||
|
|
||||||
if (pos_ > data_.size()) {
|
if (pos_ > data_.size()) {
|
||||||
LOG_WARN << "[" << name_ << "] " << path_
|
LOG_WARN << "[" << name_ << "] " << path_
|
||||||
<< ": unexpected end of file (pos=" << pos_
|
<< ": unexpected end of file (pos=" << pos_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user