COMMON: Uninit field cleanup

This commit is contained in:
elasota 2022-08-05 17:36:02 -04:00 committed by Eugene Sandulenko
parent 321e758e3a
commit e5881d3621
2 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@ QuickTimeParser::QuickTimeParser() {
_scaleFactorY = 1;
_resFork = new MacResManager();
_disposeFileHandle = DisposeAfterUse::YES;
_timeScale = 1;
initParseTable();
}

View File

@ -66,7 +66,7 @@ enum WinResourceType {
class WinResourceID {
public:
WinResourceID() { _idType = kIDTypeNull; }
WinResourceID() { _idType = kIDTypeNull; _id = 0; }
WinResourceID(String x) { _idType = kIDTypeString; _name = x; }
WinResourceID(uint32 x) { _idType = kIDTypeNumerical; _id = x; }