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

Fix crash when all durations are zero #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

takke
Copy link

@takke takke commented Jun 15, 2024

Hi,

I am developing an Android application for multiple SNS like bluesky, mastodon and misskey.

We have been using this library as an APNG decoder for a social networking service called Misskey, but there was a problem with crashes when loading an incorrect file with a total duration of 0.

This fix prevents crashes as a minimum fix.

It is desirable to be able to set some kind of duration and display all frames as animated, but I could not figure out how to do that, so the first frame is displayed as a fixed frame.

Thanks.

sample:
midopen_duration_zero

@CLAassistant
Copy link

CLAassistant commented Jun 15, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants