Skip to content

Commit

Permalink
[code] fix endianness issue while updating srtp keys cisco#710
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Bodilis committed May 2, 2024
1 parent aabca37 commit f8e104d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtp/srtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f8e104d

Please sign in to comment.