Formats need to load before apps, because some apps call ast_format_str_reduce() at load time.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@279472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2010-07-26 03:27:06 +00:00
parent ed9eb98e77
commit 6fba8e4fff
18 changed files with 90 additions and 18 deletions

View File

@@ -556,4 +556,8 @@ static int unload_module(void)
return ast_format_unregister(vorbis_f.name);
}
AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "OGG/Vorbis audio");
AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "OGG/Vorbis audio",
.load = load_module,
.unload = unload_module,
.load_pri = AST_MODPRI_APP_DEPEND
);