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

Opening older gif crashes Cactus Viewer #28

Open
askebv opened this issue Dec 22, 2023 · 0 comments
Open

Opening older gif crashes Cactus Viewer #28

askebv opened this issue Dec 22, 2023 · 0 comments

Comments

@askebv
Copy link

askebv commented Dec 22, 2023

It crashes (access violation 0x0) in source.cpp/render() on if (delta >= G->anim_frame_delays[G->anim_index] && G->anim_play) {
because G->anim_frame_delays = delays; is 0.

and I suppose it needed to be set in stb.c/static unsigned char *stbi_xload(stbi__context *s, int *x, int *y, int *frames, int **delays)
but the if (stbi__gif_test(s)) returns false and thus never calls stbi__load_gif_main which very much looks like where it's set.

That's all the investigating I have time for, sorry.

One of the files that causes the crash:
amazing_adventures_116x87 1

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

No branches or pull requests

1 participant