refactor: resolve Sonar cpp:S5416 findings (#5906)

This commit is contained in:
Dave Lane authored and GitHub committed 2026-10-12 16:38:16 -04:00
1 parent 5c2fd0321a
commit 73a8a58be7
18 files changed
+176 -72

No files matched your search

+7 -2
View File
@@ -289,7 +289,7 @@ namespace stream {
/**
* @brief Packed encrypted control-channel envelope.
*/
typedef struct control_encrypted_t {
struct control_encrypted_t {
std::uint16_t encryptedHeaderType; ///< Always LE 0x0001.
std::uint16_t length; ///< Size of seq, tag, secondary header, and data.
@@ -306,7 +306,12 @@ namespace stream {
}
// encrypted control_header_v2 and payload data follow
} *control_encrypted_p; ///< Alias for control encrypted p.
};
/**
* @brief Pointer to a packed encrypted control-channel envelope.
*/
using control_encrypted_p = control_encrypted_t *;
/**
* @brief Packed RTP and FEC headers for an audio recovery packet.