format_ogg_vorbis: Clear ogg/vorbis data structures on close
[asterisk/asterisk.git] / formats / format_vox.c
index 5107ab9..5a70c34 100644 (file)
@@ -30,8 +30,6 @@
  
 #include "asterisk.h"
 
-ASTERISK_REGISTER_FILE()
-
 #include "asterisk/mod_format.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
@@ -139,7 +137,7 @@ static int load_module(void)
 {
        vox_f.format = ast_format_adpcm;
        if (ast_format_def_register(&vox_f))
-               return AST_MODULE_LOAD_FAILURE;
+               return AST_MODULE_LOAD_DECLINE;
        return AST_MODULE_LOAD_SUCCESS;
 }