diff --git a/source/Lib/CommonLib/SEI.cpp b/source/Lib/CommonLib/SEI.cpp index 429d79a86bc9fcedd32c0261cb16dff38ed98c30..1bf177a55723bdc3ba732feb25473fc08b2b0ea2 100644 --- a/source/Lib/CommonLib/SEI.cpp +++ b/source/Lib/CommonLib/SEI.cpp @@ -265,7 +265,7 @@ uint32_t SEIMultiviewAcquisitionInfo::xGetSyntaxElementLen( int expo, int prec, assert( val >= 0 ); const uint64_t MAX_VAL = (1llu << len) - 1; - assert( val <= MAX_VAL ); + CHECK( val <= MAX_VAL, "Value is too big" ); return len; }