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 VLA usage from send_audio_packet. #977

Merged
merged 1 commit into from
Jul 8, 2018
Merged

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Jul 7, 2018

Also use net_pack_u16 in that function instead of manual ntohs+memcpy
and net_unpack_u16 in its receiving counterpart.


This change is Reviewable

@iphydf iphydf added this to the v0.2.x milestone Jul 7, 2018
@iphydf iphydf requested a review from Diadlo July 7, 2018 20:13
@iphydf iphydf assigned Diadlo and unassigned Diadlo Jul 7, 2018
@iphydf iphydf removed the request for review from Diadlo July 7, 2018 21:25
Also use `net_pack_u16` in that function instead of manual ntohs+memcpy
and `net_unpack_u16` in its receiving counterpart.
Copy link

@sudden6 sudden6 left a comment

Choose a reason for hiding this comment

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

:lgtm_strong:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 1 LGTMs obtained

@iphydf iphydf merged commit b3889f0 into TokTok:master Jul 8, 2018
@iphydf iphydf deleted the rm-vla branch July 8, 2018 18:06
@iphydf iphydf modified the milestones: v0.2.x, v0.2.4 Jul 16, 2018
This pull request was closed.
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