diff options
author | James Golovich <james@gnuinter.net> | 2004-04-21 04:27:58 +0000 |
---|---|---|
committer | James Golovich <james@gnuinter.net> | 2004-04-21 04:27:58 +0000 |
commit | 65c3fe8b33bcec6b10ccac0821b55d5ab7044006 (patch) | |
tree | 55cc668691ff30cb217c9770a8ce7cd8d7ae015a /formats/format_g726.c | |
parent | fe9255a8160ef45fec901753ba4884b810b2df92 (diff) |
Unload g726 file formats in the order they were loaded (bug 1460)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats/format_g726.c')
-rwxr-xr-x | formats/format_g726.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/formats/format_g726.c b/formats/format_g726.c index 7d14da761..c12b6275f 100755 --- a/formats/format_g726.c +++ b/formats/format_g726.c @@ -457,24 +457,24 @@ int unload_module() { int res; - res = ast_format_unregister(name40); + res = ast_format_unregister(name16); if (res) { - ast_log(LOG_WARNING, "Failed to unregister format %s.\n", name40); + ast_log(LOG_WARNING, "Failed to unregister format %s.\n", name16); return(-1); } - res = ast_format_unregister(name32); + res = ast_format_unregister(name24); if (res) { - ast_log(LOG_WARNING, "Failed to unregister format %s.\n", name32); + ast_log(LOG_WARNING, "Failed to unregister format %s.\n", name24); return(-1); } - res = ast_format_unregister(name24); + res = ast_format_unregister(name32); if (res) { - ast_log(LOG_WARNING, "Failed to unregister format %s.\n", name24); + ast_log(LOG_WARNING, "Failed to unregister format %s.\n", name32); return(-1); } - res = ast_format_unregister(name16); + res = ast_format_unregister(name40); if (res) { - ast_log(LOG_WARNING, "Failed to unregister format %s.\n", name16); + ast_log(LOG_WARNING, "Failed to unregister format %s.\n", name40); return(-1); } return(0); |