diff options
Diffstat (limited to 'res/res_srtp.c')
-rw-r--r-- | res/res_srtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_srtp.c b/res/res_srtp.c index 74587d55d..773d53316 100644 --- a/res/res_srtp.c +++ b/res/res_srtp.c @@ -196,7 +196,7 @@ static struct ast_srtp *res_srtp_new(void) ast_free(srtp); return NULL; } - + srtp->warned = 1; return srtp; @@ -453,7 +453,7 @@ static int ast_srtp_protect(struct ast_srtp *srtp, void **buf, int *len, int rtc if ((*len + SRTP_MAX_TRAILER_LEN) > sizeof(srtp->buf)) { return -1; } - + localbuf = rtcp ? srtp->rtcpbuf : srtp->buf; memcpy(localbuf, *buf, *len); |