mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-02 10:05:50 +00:00
refactor: resolve Sonar cpp:S5416 findings (#5906)
This commit is contained in:
1 parent
5c2fd0321a
commit
73a8a58be7
18 files changed
+176
-72
No files matched your search
+7
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user