mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 11:32:25 +00:00
codecs: Remove test-law.
This was dead code, test code introduced with Asterisk 13. This was found while analyzing ASTERISK_28416 and ASTERISK_29185. This change partly fixes, not closes those two issues. Change-Id: I42d0daa37f6f334c7d86672f06f085858a3f3940
This commit is contained in:
committed by
Joshua Colp
parent
51e2187a14
commit
80c14f74bc
@@ -90,11 +90,6 @@ struct ast_format *ast_format_ulaw;
|
||||
*/
|
||||
struct ast_format *ast_format_alaw;
|
||||
|
||||
/*!
|
||||
* \brief Built-in cached testlaw format.
|
||||
*/
|
||||
struct ast_format *ast_format_testlaw;
|
||||
|
||||
/*!
|
||||
* \brief Built-in cached gsm format.
|
||||
*/
|
||||
@@ -343,7 +338,6 @@ static void format_cache_shutdown(void)
|
||||
ao2_replace(ast_format_g722, NULL);
|
||||
ao2_replace(ast_format_siren7, NULL);
|
||||
ao2_replace(ast_format_siren14, NULL);
|
||||
ao2_replace(ast_format_testlaw, NULL);
|
||||
ao2_replace(ast_format_g719, NULL);
|
||||
ao2_replace(ast_format_opus, NULL);
|
||||
ao2_replace(ast_format_codec2, NULL);
|
||||
@@ -434,8 +428,6 @@ static void set_cached_format(const char *name, struct ast_format *format)
|
||||
ao2_replace(ast_format_siren7, format);
|
||||
} else if (!strcmp(name, "siren14")) {
|
||||
ao2_replace(ast_format_siren14, format);
|
||||
} else if (!strcmp(name, "testlaw")) {
|
||||
ao2_replace(ast_format_testlaw, format);
|
||||
} else if (!strcmp(name, "g719")) {
|
||||
ao2_replace(ast_format_g719, format);
|
||||
} else if (!strcmp(name, "opus")) {
|
||||
|
||||
Reference in New Issue
Block a user