summaryrefslogtreecommitdiff
path: root/src/JP2K_Sequence_Parser.cpp
diff options
context:
space:
mode:
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;
}