Skip to content

Commit e37e969

Browse files
committed
acap/aes67: Add missing initializers
1 parent 154d768 commit e37e969

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/audio/capture/aes67.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ struct Rtp_stream{
8383
using sess_id_t = uint32_t;
8484

8585
struct Sap_session{
86-
sess_id_t unique_identifier; //Hash computed from sdp username, session id and unicast address
87-
uint64_t sess_ver;
88-
uint16_t sap_hash; //Hash of sap packet that contained sdp for this version of session
86+
sess_id_t unique_identifier = 0; //Hash computed from sdp username, session id and unicast address
87+
uint64_t sess_ver = 0;
88+
uint16_t sap_hash = 0; //Hash of sap packet that contained sdp for this version of session
8989
std::string name;
9090
std::string description;
9191

@@ -119,7 +119,7 @@ struct Allocated_audio_frame{
119119
struct state_aes67_cap {
120120
std::string network_interface_name;
121121
std::string sap_address;
122-
int sap_port;
122+
int sap_port = 0;
123123
std::string requested_sess_hash;
124124
unsigned req_stream_idx = 0;
125125

0 commit comments

Comments
 (0)