mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-15 04:24:28 +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
fb20df9ad9
commit
a48b6003af
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