aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_g723.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_g723.c')
-rw-r--r--formats/format_g723.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/formats/format_g723.c b/formats/format_g723.c
index dd5a1e6af..64883fe88 100644
--- a/formats/format_g723.c
+++ b/formats/format_g723.c
@@ -152,7 +152,9 @@ static const struct ast_format g723_1_f = {
static int load_module(void)
{
- return ast_format_register(&g723_1_f);
+ if (ast_format_register(&g723_1_f))
+ return AST_MODULE_LOAD_FAILURE;
+ return AST_MODULE_LOAD_SUCCESS;
}
static int unload_module(void)