summaryrefslogtreecommitdiff
path: root/src/MXF.h
diff options
context:
space:
mode:
authormschroffel <mschroffel@cinecert.com>2016-03-17 23:58:13 +0000
committermschroffel <>2016-03-17 23:58:13 +0000
commited84256d7687b8255991308361e26013b7071dd9 (patch)
tree58090552a149397f61944daf6cabf7208025f915 /src/MXF.h
parente10177793b42db5b9a8671dcff9e7c9cbc6a676a (diff)
included CMakelists.txt into dist
Diffstat (limited to 'src/MXF.h')
-rwxr-xr-xsrc/MXF.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/MXF.h b/src/MXF.h
index b90ebb7..19ff446 100755
--- a/src/MXF.h
+++ b/src/MXF.h
@@ -185,7 +185,17 @@ namespace ASDCP
LocalTagEntry(const TagValue& tag, ASDCP::UL& ul) : Tag(tag), UL(ul) {}
bool operator<(const LocalTagEntry& rhs) const {
- return ( ( Tag.a < rhs.Tag.a ) || ( Tag.b < rhs.Tag.b ) );
+ if ( Tag.a < rhs.Tag.a )
+ {
+ return true;
+ }
+
+ if ( Tag.a == rhs.Tag.a && Tag.b < rhs.Tag.b )
+ {
+ return true;
+ }
+
+ return false;
}
inline const char* EncodeString(char* str_buf, ui32_t buf_len) const {