lottie: remove exception handling

don't stop the parsing when the data type is incorrect.
just let it slide.

issue: https://github.com/thorvg/thorvg/issues/2389
This commit is contained in:
Hermet Park 2024-07-01 17:23:49 +09:00
parent 0874116742
commit 10d96b32a0

View file

@ -86,7 +86,7 @@ bool LookaheadParserHandler::nextArrayValue()
int LookaheadParserHandler::getInt()
{
if (state != kHasNumber || !val.IsInt()) {
if (state != kHasNumber) {
Error();
return 0;
}