ignore centerRate in old version

This commit is contained in:
tildearrow 2022-02-04 03:34:38 -05:00
parent 902febe298
commit 29174e97cc

View file

@ -2213,7 +2213,8 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
// reserved
reader.readC();
if (ds.version>=32) {
// while version 32 stored this value, it was unused.
if (ds.version>=38) {
sample->centerRate=reader.readS();
} else {
reader.readS();