Skip to content

Commit 9fd71ba

Browse files
committed
Fix function signature mismatch for srtp_remove_stream
- The definition for the function has the signature: `srtp_err_status_t srtp_remove_stream(srtp_t session, uint32_t ssrc)` - This is not always same as the signature present in srtp.h: `srtp_err_status_t srtp_remove_stream(srtp_t session, unsigned int ssrc)` This causes function signature mismatch. Aligned the signature from `srtp.h` with the definition using `uint32_t`
1 parent 596e30e commit 9fd71ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/srtp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ srtp_err_status_t srtp_add_stream(srtp_t session, const srtp_policy_t *policy);
631631
* - [other] otherwise.
632632
*
633633
*/
634-
srtp_err_status_t srtp_remove_stream(srtp_t session, unsigned int ssrc);
634+
srtp_err_status_t srtp_remove_stream(srtp_t session, uint32_t ssrc);
635635

636636
/**
637637
* @brief srtp_update() updates all streams in the session.

0 commit comments

Comments
 (0)