From f8e104d43376d8a3b720059b867dfea2a29dba46 Mon Sep 17 00:00:00 2001 From: Pierre Bodilis Date: Thu, 2 May 2024 17:44:37 +0200 Subject: [PATCH] [code] fix endianness issue while updating srtp keys https://github.com/cisco/libsrtp/issues/710 --- srtp/srtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srtp/srtp.c b/srtp/srtp.c index 0189fae94..e60073fa8 100644 --- a/srtp/srtp.c +++ b/srtp/srtp.c @@ -3111,7 +3111,7 @@ static bool update_template_stream_cb(srtp_stream_t stream, void *raw_data) old_rtcp_rdb = stream->rtcp_rdb; /* remove stream */ - data->status = srtp_stream_remove(session, ssrc); + data->status = srtp_stream_remove(session, ntohl(ssrc)); if (data->status) { return false; }