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 build warnings and errors in Visual Studio 2022 #1047

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

fishmonger42
Copy link
Contributor

Made the implementation of getopt_internal match the declaration
Fix warning about the unsafe use of int as bool
Remove unnecessary cast (SvtAv1FixedBuf) causing compiler error

@@ -674,7 +674,7 @@ struct heif_error svt_encode_image(void* encoder_raw, const struct heif_image* i
svt_config.logical_processors = encoder->threads;

// disable 2-pass
svt_config.rc_stats_buffer = (SvtAv1FixedBuf) {nullptr, 0};
svt_config.rc_stats_buffer = {nullptr, 0};
Copy link
Contributor

Choose a reason for hiding this comment

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

@fishmonger42 This part already got applied (see #1059) and is probably the cause of the merge conflicts. Possibly you just need to drop it.

@farindk farindk merged commit b774bb3 into strukturag:master Dec 19, 2023
31 checks passed
@farindk
Copy link
Contributor

farindk commented Dec 19, 2023

Thanks. I've fixed the merge conflict.

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.

3 participants