diff options
-rw-r--r-- | src/osmux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmux.c b/src/osmux.c index 872588d..46170ba 100644 --- a/src/osmux.c +++ b/src/osmux.c @@ -1001,6 +1001,7 @@ osmux_tx_sched(struct llist_head *list, void osmux_xfrm_output_init(struct osmux_out_handle *h, uint32_t rtp_ssrc) { + memset(h, 0, sizeof(*h)); h->rtp_seq = (uint16_t)random(); h->rtp_timestamp = (uint32_t)random(); h->rtp_ssrc = rtp_ssrc; |