summaryrefslogtreecommitdiff
path: root/src/JP2K_Sequence_Parser.cpp
diff options
context:
space:
mode:
authorJohn Hurst <jhurst@cinecert.com>2019-12-30 13:55:29 -0800
committerGitHub <noreply@github.com>2019-12-30 13:55:29 -0800
commitda9826dd6737c27ecdd2fed6976ab59f71faf4ee (patch)
treecc021df8950fe7462eae30481a9b92e1d55ee8fa /src/JP2K_Sequence_Parser.cpp
parentd37464b6fde37217372c5eea417e581f8b1d9b4e (diff)
parentb46851f19fd75d28420c55c5105ea55059461224 (diff)
Merge pull request #14 from AntonQubecinema/bugfix
Fix == operator in jp2k seq parser
Diffstat (limited to 'src/JP2K_Sequence_Parser.cpp')
-rwxr-xr-xsrc/JP2K_Sequence_Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JP2K_Sequence_Parser.cpp b/src/JP2K_Sequence_Parser.cpp
index a0fd5d0..a080440 100755
--- a/src/JP2K_Sequence_Parser.cpp
+++ b/src/JP2K_Sequence_Parser.cpp
@@ -229,7 +229,7 @@ operator==(const ASDCP::JP2K::CodingStyleDefault_t& lhs, const ASDCP::JP2K::Codi
for ( ui32_t i = 0; i < sizeof(ui16_t); i++ )
{
- if ( lhs.SGcod.NumberOfLayers[i] != lhs.SGcod.NumberOfLayers[i] )
+ if ( lhs.SGcod.NumberOfLayers[i] != rhs.SGcod.NumberOfLayers[i] )
return false;
}