aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_g729.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 03:27:06 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 03:27:06 +0000
commit2d09b286a77ac7527118f09b9b510341589268d7 (patch)
treefd770f3d18b253f134b1391eb95e9a5114f7bc71 /formats/format_g729.c
parent025821d9745d103398ec775afd3999c806177bb5 (diff)
Formats need to load before apps, because some apps call ast_format_str_reduce() at load time.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279472 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats/format_g729.c')
-rw-r--r--formats/format_g729.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/formats/format_g729.c b/formats/format_g729.c
index 439f8a69e..ad7d7fee7 100644
--- a/formats/format_g729.c
+++ b/formats/format_g729.c
@@ -145,4 +145,8 @@ 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_ORDER, "Raw G.729 data",
+ .load = load_module,
+ .unload = unload_module,
+ .load_pri = AST_MODPRI_APP_DEPEND
+);