Skip to content

Commit

Permalink
Fixed crash when making call if call setting is not supplied (#4074)
Browse files Browse the repository at this point in the history
  • Loading branch information
sauwming authored Sep 17, 2024
1 parent 3c3eef9 commit 9543a1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pjsip/src/pjsua-lib/pjsua_call.c
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,8 @@ PJ_DEF(pj_status_t) pjsua_call_make_call(pjsua_acc_id acc_id,
if (status != PJ_SUCCESS) {
pjsua_perror(THIS_FILE, "Failed to apply call setting", status);
goto on_error;
} else if (!opt) {
opt = &call->opt;
}

/* Create sound port if none is instantiated, to check if sound device
Expand Down

0 comments on commit 9543a1b

Please sign in to comment.