summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels/chan_sip.c2
-rw-r--r--main/format_pref.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index eb26020f3..200d25c6c 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -25683,7 +25683,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, str
/* Session-Timers */
if ((p->sipoptions & SIP_OPT_TIMER)) {
- enum st_refresher_param st_ref_param;
+ enum st_refresher_param st_ref_param = SESSION_TIMER_REFRESHER_PARAM_UNKNOWN;
/* The UAC has requested session-timers for this session. Negotiate
the session refresh interval and who will be the refresher */
diff --git a/main/format_pref.c b/main/format_pref.c
index 4ab607e16..4ea9f0cc7 100644
--- a/main/format_pref.c
+++ b/main/format_pref.c
@@ -317,7 +317,7 @@ struct ast_format_list ast_codec_pref_getsize(struct ast_codec_pref *pref, struc
/*! \brief Pick a codec */
struct ast_format *ast_codec_choose(struct ast_codec_pref *pref, struct ast_format_cap *cap, int find_best, struct ast_format *result)
{
- int x, slot, found;
+ int x, slot, found = 0;
size_t f_len = 0;
const struct ast_format_list *f_list = ast_format_list_get(&f_len);