aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_h264.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_h264.c')
-rw-r--r--formats/format_h264.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/formats/format_h264.c b/formats/format_h264.c
index bc70a75c7..70b9dd948 100644
--- a/formats/format_h264.c
+++ b/formats/format_h264.c
@@ -183,4 +183,7 @@ static int unload_module(void)
return ast_format_unregister(h264_f.name);
}
-AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Raw H.264 data");
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_FIRST, "Raw H.264 data",
+ .load = load_module,
+ .unload = unload_module,
+);