Merge pull request #650 from zyp/bitparser_unknown_key

bitparser: Relax unknown keys from error to warning
This commit is contained in:
Gwenhael Goavec-Merou
2026-04-22 09:30:54 +02:00
committed by GitHub
+3 -2
View File
@@ -111,9 +111,10 @@ int BitParser::parseHeader()
_hdr["version"] = value;
} else if (key == "SW_CRC") {
_hdr["crc"] = value;
} else if (key == "COMPRESS") {
_hdr["compress"] = value;
} else {
printError("Unknown key " + key);
return -1;
printWarn("Unknown key " + key);
}
}
}