Skip to content

movie_lib.cc: Fix incorrect return type of getOffset #195

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

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

Conversation

glebm
Copy link
Contributor

@glebm glebm commented Jun 9, 2024

The type was changed from auto to uint8_t when merging #117, but the correct return type is actually int.

Fixes #136
Fixes #194

There is an alternative fix in #188 (with a graph of generated values) but I think the return type there (int16_t) is incorrect.

/cc @alexbatalov @Zenkibou @hippydave @KulikAlex @dje4321

@glebm
Copy link
Contributor Author

glebm commented Jul 4, 2024

@alexbatalov Can you please merge this? The bug was introduced in your changes to my PR #117 when you were merging it.

@Izder456
Copy link
Contributor

Izder456 commented Dec 6, 2024

@alexbatalov @glebm This also fixes the artifacting issue mentioned in #136 on OpenBSD.

@Kelvfimer
Copy link

@alexbatalov @glebm it fixes the issue #136 pls can you merge it? thx

@glebm
Copy link
Contributor Author

glebm commented Mar 2, 2025

@alexbatalov I see you're committing stuff again, can you please merge this?

@jroc-hb
Copy link

jroc-hb commented Jul 14, 2025

I can confirm that this PR fixed the FMV issue I was experiencing in my WIP Xbox port. I say it should definitely be merged in

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.

[Linux] Glitchy videos Latest commit introduces square checked artifacts in videos on linux odroid n2+
4 participants