X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2FJP2K_Sequence_Parser.cpp;h=a08044000ba1df1ab804b0fb27da31112fe4b485;hb=b46851f19fd75d28420c55c5105ea55059461224;hp=a0fd5d0b9c2fde47ac8143fe13a5cd5b1cd228b4;hpb=cf81f87c1517aabb892f0ea29ab5b6f7d8a09d47;p=asdcplib.git 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; }