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