Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-12-17 19:52:27 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-12-17 19:52:27 +0400
commit59bdc831a224cb4ddc58376be7ef448d8d05d6df (patch)
treea05c52e25d1dc4d754e78add2c76fa134490c42c /common
parente53b442dca13c69bb2fbca1cd12f86f1961781b8 (diff)
Fix another forgotten class init
Diffstat (limited to 'common')
-rw-r--r--common/includes/LAVSplitterSettingsInternal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/includes/LAVSplitterSettingsInternal.h b/common/includes/LAVSplitterSettingsInternal.h
index b2f12b11..db3227ee 100644
--- a/common/includes/LAVSplitterSettingsInternal.h
+++ b/common/includes/LAVSplitterSettingsInternal.h
@@ -24,10 +24,10 @@
class FormatInfo {
public:
- FormatInfo() : strName(nullptr), strDescription(nullptr) {}
+ FormatInfo() {}
FormatInfo(LPCSTR name, LPCSTR desc) : strName(name), strDescription(desc) {}
- LPCSTR strName;
- LPCSTR strDescription;
+ LPCSTR strName = nullptr;
+ LPCSTR strDescription = nullptr;
// Comparison operators for sorting (NULL safe)
bool FormatInfo::operator < (const FormatInfo& rhs) const { return strName ? (rhs.strName ? _stricmp(strName, rhs.strName) < 0 : false) : true; }