aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_g729.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_g729.c')
-rw-r--r--formats/format_g729.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/formats/format_g729.c b/formats/format_g729.c
index 3f46bcbff..a596c521c 100644
--- a/formats/format_g729.c
+++ b/formats/format_g729.c
@@ -156,4 +156,7 @@ static int unload_module(void)
return ast_format_unregister(g729_f.name);
}
-AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Raw G729 data");
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_FIRST, "Raw G729 data",
+ .load = load_module,
+ .unload = unload_module,
+);