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

Adds missing include and avoids unused variable #74

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

trevorknight
Copy link
Contributor

@trevorknight trevorknight commented Dec 7, 2023

This commit fixes two small issues:

IAMF_decoder_private.h uses IAMF_extradata and IAMF_StreamInfo but does not include IAMF_decoder.h (And it does not appear to be transitively included), so this commit adds the include.

In IAMF_decoder.c, if binauralizer is disabled, there is a unused var ctx. This PR moves it inside the code block where it's used to avoid that error.

This commit fixes two small issues:

IAMF_decoder_private.h uses IAMF_extradata and IAMF_StreamInfo but does
not include IAMF_decoder.h (And it does not appear to be transitively
included, so this commit adds the include.

In IAMF_decoder.c, if binauralizer is disabled, there is a unused var
`ctx`.  This PR moves it inside the code block where it's used to
avoid that error.
@jwcullen
Copy link
Collaborator

jwcullen commented Dec 7, 2023

@yilun-zhangs, @hkchung72 - this is just a small change to fix some nits building it in different environments. Can you please review.

Copy link
Collaborator

@yilun-zhangs yilun-zhangs left a comment

Choose a reason for hiding this comment

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

Thanks for your help, looks fine to me.

@jwcullen jwcullen self-requested a review December 12, 2023 16:20
@jwcullen jwcullen merged commit 7f34b61 into AOMediaCodec:main Dec 12, 2023
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