aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_pcm.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 03:28:02 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 03:28:02 +0000
commit93b6fca7dc341cd14ceedbea2f333da3d91bb6ea (patch)
tree01dc9595a8ba158d2a129e8c5cf349981f1d401a /formats/format_pcm.c
parenta5d653445ee8799a3939c6f6b207942369c5adfd (diff)
Merged revisions 279472 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r279472 | tilghman | 2010-07-25 22:27:06 -0500 (Sun, 25 Jul 2010) | 2 lines 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/trunk@279473 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats/format_pcm.c')
-rw-r--r--formats/format_pcm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/formats/format_pcm.c b/formats/format_pcm.c
index 2b0db56e2..76eb9c6af 100644
--- a/formats/format_pcm.c
+++ b/formats/format_pcm.c
@@ -494,4 +494,8 @@ static int unload_module(void)
|| ast_format_unregister(g722_f.name);
}
-AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.722 16Khz");
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.722 16Khz",
+ .load = load_module,
+ .unload = unload_module,
+ .load_pri = AST_MODPRI_APP_DEPEND
+);