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

Ensure bmalloc always takes positive size #49

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

norihiro
Copy link
Owner

@norihiro norihiro commented Oct 8, 2024

Description

OBS Studio >= 31.0.0 requires bmalloc always takes positive size, or it will crash.

This commit ensures the size is always positive.

How Has This Been Tested?

I have not tested yet.

General checklist

  • The commit is reviewed by yourself.
  • The code is tested.
  • Document is up to date or not necessary to be changed.
  • The commit is compatible with repository's license.

If the PNG file output is enabled, a list of PNG files will be
generated. When failed to create and open the PNG file list, it tried to
write the header to the null file pointer.
@norihiro norihiro force-pushed the ensure-positive-bzalloc branch from be927b9 to 9a4d680 Compare October 26, 2024 05:39
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.

1 participant