Index: formats/format_h264.c =================================================================== --- formats/format_h264.c (revision 87247) +++ formats/format_h264.c (working copy) @@ -175,7 +175,9 @@ static int load_module(void) { - return ast_format_register(&h264_f); + if (ast_format_register(&h264_f)) + return AST_MODULE_LOAD_FAILURE; + return AST_MODULE_LOAD_SUCCESS; } static int unload_module(void)