summaryrefslogtreecommitdiff
path: root/formats/format_ilbc.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-07-20 19:35:02 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-07-20 19:35:02 +0000
commitb4e18d5660fcc13b97cd4682ff48e33aa9d15d83 (patch)
tree14b50e57a2595242548184d532cbeeedf416020a /formats/format_ilbc.c
parent293bdffe709fc7d37139b0b9be6b67193d621b51 (diff)
Add load priority order, such that preload becomes unnecessary in most cases
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats/format_ilbc.c')
-rw-r--r--formats/format_ilbc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/formats/format_ilbc.c b/formats/format_ilbc.c
index d01c74fc4..d2fa8a1c0 100644
--- a/formats/format_ilbc.c
+++ b/formats/format_ilbc.c
@@ -141,10 +141,6 @@ static int load_module(void)
static int unload_module(void)
{
return ast_format_unregister(ilbc_f.name);
-}
+}
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "Raw iLBC data",
- .load = load_module,
- .unload = unload_module,
- .load_pri = 10,
-);
+AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Raw iLBC data");