diff options
Diffstat (limited to 'channels/chan_unistim.c')
-rw-r--r-- | channels/chan_unistim.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c index 523867988..547cd7c2f 100644 --- a/channels/chan_unistim.c +++ b/channels/chan_unistim.c @@ -1836,7 +1836,7 @@ static struct unistim_line *unistim_line_alloc(void) return NULL; } - if (!(l->cap = ast_format_cap_alloc_nolock())) { + if (!(l->cap = ast_format_cap_alloc(AST_FORMAT_CAP_FLAG_NOLOCK))) { ast_free(l); return NULL; } @@ -6853,10 +6853,10 @@ int load_module(void) { int res; struct ast_format tmpfmt; - if (!(global_cap = ast_format_cap_alloc())) { + if (!(global_cap = ast_format_cap_alloc(0))) { goto buff_failed; } - if (!(unistim_tech.capabilities = ast_format_cap_alloc())) { + if (!(unistim_tech.capabilities = ast_format_cap_alloc(0))) { goto buff_failed; } |