summaryrefslogtreecommitdiff
path: root/include/asterisk/mod_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/mod_format.h')
-rw-r--r--include/asterisk/mod_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/mod_format.h b/include/asterisk/mod_format.h
index 7f17741fa..bcd31deaa 100644
--- a/include/asterisk/mod_format.h
+++ b/include/asterisk/mod_format.h
@@ -128,7 +128,7 @@ struct ast_filestream {
* \retval -1 on failure
*/
int __ast_format_def_register(const struct ast_format_def *f, struct ast_module *mod);
-#define ast_format_def_register(f) __ast_format_def_register(f, ast_module_info->self)
+#define ast_format_def_register(f) __ast_format_def_register(f, AST_MODULE_SELF)
/*!
* \brief Unregisters a file format