Define patch_ssrc as bool type
This variable clearly holds a boolean value, so let's use stdef to make it clear. Change-Id: I05233a413b0d8511d056e8f93467a111c4bdf119
This commit is contained in:
parent
33347a4f5d
commit
4c77e9b748
|
@ -34,7 +34,7 @@ struct mgcp_rtp_state {
|
|||
|
||||
struct {
|
||||
/* are we patching the SSRC value? */
|
||||
int patch_ssrc;
|
||||
bool patch_ssrc;
|
||||
/* original SSRC (to which we shall patch any different SSRC) */
|
||||
uint32_t orig_ssrc;
|
||||
/* offset to apply on the sequence number */
|
||||
|
|
|
@ -636,7 +636,7 @@ void mgcp_patch_and_count(struct mgcp_endpoint *endp,
|
|||
adjust_rtp_timestamp_offset(endp, state, rtp_end, addr,
|
||||
delta_seq, timestamp);
|
||||
|
||||
state->patch.patch_ssrc = 1;
|
||||
state->patch.patch_ssrc = true;
|
||||
ssrc = state->patch.orig_ssrc;
|
||||
if (rtp_end->force_constant_ssrc != -1)
|
||||
rtp_end->force_constant_ssrc -= 1;
|
||||
|
|
Loading…
Reference in New Issue