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 use of pointers to 32bit values #667

Merged
merged 2 commits into from
Dec 20, 2023

Commits on Dec 19, 2023

  1. remove use of pointers to 32bit values

    There is no reason to use pointers to 32bit values, all operations are
    based on bytes. So This removes alot of extra casting and potential
    pointer arithmetic errors.
    Also provide some functions for calculating header values to reduce
    duplication and improve readability.
    pabuhler committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    8f10fac View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. document xtn helper functions

    srtp_get_rtp_xtn_hdr & srtp_get_rtp_xtn_hdr_len both
    assume that the caller has verified that the input arguments
    are valid, ie that there is an extension present by previously
    checking the x bit of the RTP header.
    pabuhler committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    d30461e View commit details
    Browse the repository at this point in the history