From 75d2a8cecd7b6ee81b7cc6bfc92301481da87d19 Mon Sep 17 00:00:00 2001 From: Pierre Bodilis Date: Fri, 3 May 2024 10:11:23 +0200 Subject: [PATCH] [code] remove unecessary htonl as srtp_stream_remove now expect an ssrc in host order --- srtp/srtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srtp/srtp.c b/srtp/srtp.c index a7ca8e0b8..bf91ce89a 100644 --- a/srtp/srtp.c +++ b/srtp/srtp.c @@ -3247,7 +3247,7 @@ static srtp_err_status_t stream_update(srtp_t session, old_index = stream->rtp_rdbx.index; old_rtcp_rdb = stream->rtcp_rdb; - status = srtp_stream_remove(session, htonl(policy->ssrc.value)); + status = srtp_stream_remove(session, policy->ssrc.value); if (status) { return status; }