Process WAV chunk padding correctly
This commit is contained in:
parent
391fb7ab5b
commit
7bde1e32ec
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ bool FileMetadataReader::Impl::openRiff()
|
||||||
info.length = riffChunkSize;
|
info.length = riffChunkSize;
|
||||||
riffChunks.push_back(info);
|
riffChunks.push_back(info);
|
||||||
|
|
||||||
if (fseek(stream, riffChunkSize, SEEK_CUR) != 0)
|
if (fseek(stream, riffChunkSize + (riffChunkSize & 1), SEEK_CUR) != 0)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue