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

Remove dependency on AVM internal headers. #1928

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

vrabaud
Copy link
Collaborator

@vrabaud vrabaud commented Jan 11, 2024

Releases are unfrequent anyway so we might as well use the proper values and not the enums.

Releases are unfrequent anyway so we might as well use the proper
values and not the enums.
@vrabaud vrabaud merged commit c105111 into AOMediaCodec:main Jan 11, 2024
16 of 20 checks passed
@vrabaud vrabaud deleted the cleanup branch January 11, 2024 15:38
for (int i = 1; i < RESTORE_SWITCHABLE_TYPES; ++i) {
if (DEF_UV_LR_TOOLS_DISABLE_MASK & (1 << i)) {
continue;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

DEF_UV_LR_TOOLS_DISABLE_MASK is equal to (1 << 3). So we execute the continue statement when i = 3.

So this for loop should read 5 - 1 - 1 bits. This doesn't match the new code. Which one is right? Or did I make a mistake in the analysis?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Indeed, you are totally right: #1931

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