mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 12:04:29 +00:00
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:
parent
0874116742
commit
10d96b32a0
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ bool LookaheadParserHandler::nextArrayValue()
|
||||||
|
|
||||||
int LookaheadParserHandler::getInt()
|
int LookaheadParserHandler::getInt()
|
||||||
{
|
{
|
||||||
if (state != kHasNumber || !val.IsInt()) {
|
if (state != kHasNumber) {
|
||||||
Error();
|
Error();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue