mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
FS-7601: [mod_opus] remove a bounds check that can never be true in opus fec code
This commit is contained in:
1 parent
18063a4754
commit
20f9b5c046
1 file changed
-4
@@ -505,10 +505,6 @@ static switch_status_t switch_opus_control(switch_codec_t *codec,
|
||||
uint32_t plpct = *((uint32_t *) cmd_data);
|
||||
uint32_t calc;
|
||||
|
||||
if (plpct < 0) {
|
||||
plpct = 0;
|
||||
}
|
||||
|
||||
if (plpct > 100) {
|
||||
plpct = 100;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user