mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-22 11:53:16 +00:00
switch_false currently returns false on NULL
This commit is contained in:
parent
1990d10057
commit
d3121d930e
@ -226,7 +226,7 @@ SWITCH_DECLARE(int) switch_core_media_crypto_keylen(switch_rtp_crypto_key_type_t
|
|||||||
|
|
||||||
static int get_channels(const char *name, int dft)
|
static int get_channels(const char *name, int dft)
|
||||||
{
|
{
|
||||||
if (switch_false(switch_core_get_variable("NDLB_broken_opus_sdp")) && !strcasecmp(name, "opus")) {
|
if (!switch_true(switch_core_get_variable("NDLB_broken_opus_sdp")) && !strcasecmp(name, "opus")) {
|
||||||
return 2; /* IKR???*/
|
return 2; /* IKR???*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user