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:
Alexander Traud
2020-12-01 15:11:58 +01:00
committed by Joshua Colp
parent 51e2187a14
commit 80c14f74bc
8 changed files with 2 additions and 80 deletions

View File

@@ -348,7 +348,7 @@ static const uint64_t iax2_supported_formats[] = {
AST_FORMAT_T140,
AST_FORMAT_SIREN7,
AST_FORMAT_SIREN14,
AST_FORMAT_TESTLAW,
0, /* reserved; was AST_FORMAT_TESTLAW */
AST_FORMAT_G719,
0, /* Place holder */
0, /* Place holder */

View File

@@ -91,7 +91,6 @@ uint64_t iax2_format_compatibility_best(uint64_t formats)
AST_FORMAT_G719,
AST_FORMAT_SIREN14,
AST_FORMAT_SIREN7,
AST_FORMAT_TESTLAW,
/*! G.722 is better then all below, but not as common as the above... so give ulaw and alaw priority */
AST_FORMAT_G722,
/*! Okay, well, signed linear is easy to translate into other stuff */