diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_confbridge.c | 6 | ||||
-rw-r--r-- | apps/app_meetme.c | 4 | ||||
-rw-r--r-- | apps/app_originate.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c index d9db7ab5b..47cfa0b8b 100644 --- a/apps/app_confbridge.c +++ b/apps/app_confbridge.c @@ -662,7 +662,7 @@ static int conf_start_record(struct confbridge_conference *conference) return -1; } - cap = ast_format_cap_alloc_nolock(); + cap = ast_format_cap_alloc(AST_FORMAT_CAP_FLAG_NOLOCK); if (!cap) { return -1; } @@ -1327,7 +1327,7 @@ static int alloc_playback_chan(struct confbridge_conference *conference) struct ast_format_cap *cap; struct ast_format format; - cap = ast_format_cap_alloc_nolock(); + cap = ast_format_cap_alloc(AST_FORMAT_CAP_FLAG_NOLOCK); if (!cap) { return -1; } @@ -3094,7 +3094,7 @@ static void unregister_channel_tech(struct ast_channel_tech *tech) */ static int register_channel_tech(struct ast_channel_tech *tech) { - tech->capabilities = ast_format_cap_alloc(); + tech->capabilities = ast_format_cap_alloc(0); if (!tech->capabilities) { return -1; } diff --git a/apps/app_meetme.c b/apps/app_meetme.c index cd6a4f72c..ffd55e70d 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1611,7 +1611,7 @@ static struct ast_conference *build_conf(const char *confno, const char *pin, struct ast_conference *cnf; struct dahdi_confinfo dahdic = { 0, }; int confno_int = 0; - struct ast_format_cap *cap_slin = ast_format_cap_alloc_nolock(); + struct ast_format_cap *cap_slin = ast_format_cap_alloc(AST_FORMAT_CAP_FLAG_NOLOCK); struct ast_format tmp_fmt; AST_LIST_LOCK(&confs); @@ -3216,7 +3216,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, struc int setusercount = 0; int confsilence = 0, totalsilence = 0; char *mailbox, *context; - struct ast_format_cap *cap_slin = ast_format_cap_alloc_nolock(); + struct ast_format_cap *cap_slin = ast_format_cap_alloc(AST_FORMAT_CAP_FLAG_NOLOCK); struct ast_format tmpfmt; if (!cap_slin) { diff --git a/apps/app_originate.c b/apps/app_originate.c index 8eb8ba329..f924921d4 100644 --- a/apps/app_originate.c +++ b/apps/app_originate.c @@ -113,7 +113,7 @@ static int originate_exec(struct ast_channel *chan, const char *data) unsigned int timeout = 30; static const char default_exten[] = "s"; struct ast_format tmpfmt; - struct ast_format_cap *cap_slin = ast_format_cap_alloc_nolock(); + struct ast_format_cap *cap_slin = ast_format_cap_alloc(AST_FORMAT_CAP_FLAG_NOLOCK); ast_autoservice_start(chan); if (!cap_slin) { |