Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lottie_loader: return false for frameRate = 0 #1602

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

mgrudzinska
Copy link
Collaborator

Loading a png file without giving a mimetype, resulted in an error from the lottie loader.

Loading a png file without giving a mimetype, resulted
in an error from the lottie loader.
@mgrudzinska mgrudzinska added the bug Something isn't working label Aug 15, 2023
@mgrudzinska mgrudzinska self-assigned this Aug 15, 2023
@@ -182,6 +182,11 @@ bool LottieLoader::header()
++p;
}

if (frameRate < FLT_EPSILON) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thinking about the zero thread case....

@hermet hermet merged commit 5bafdcb into thorvg:main Aug 17, 2023
9 checks passed
@mgrudzinska mgrudzinska deleted the mgrudzinska/lottie_header branch April 22, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants