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

Replace some memcpy calls with struct assignments #884

Merged
merged 1 commit into from
Mar 17, 2022

Conversation

wantehchang
Copy link
Collaborator

An advantage of struct assignments is that the compiler does type
checking. It will also avoid the potential mistake of passing an
incorrect third argument to memcpy().

This pull request finishes the job of
#878.

An advantage of struct assignments is that the compiler does type
checking. It will also avoid the potential mistake of passing an
incorrect third argument to memcpy().

This pull request finishes the job of
AOMediaCodec#878.
@wantehchang wantehchang merged commit 2f225b0 into AOMediaCodec:master Mar 17, 2022
@wantehchang wantehchang deleted the src-read-cleanup branch March 17, 2022 14:26
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.

2 participants