mkvparser: Make omitted values detectable in the Colour element.
Add constants that allow users to determine when an element or value was omitted from Colour and its child elements. Change-Id: If909274850127938a456f2d0a1e490dcbb9c1bde
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#endif
|
||||
|
||||
#include <cassert>
|
||||
#include <cfloat>
|
||||
#include <climits>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
@@ -28,6 +29,8 @@
|
||||
#endif
|
||||
|
||||
namespace mkvparser {
|
||||
const double MasteringMetadata::kValueNotPresent = DBL_MAX;
|
||||
const long long Colour::kValueNotPresent = LLONG_MAX;
|
||||
|
||||
#ifdef MSC_COMPAT
|
||||
inline bool isnan(double val) { return !!_isnan(val); }
|
||||
|
||||
Reference in New Issue
Block a user