FS-7601: [mod_opus] remove a bounds check that can never be true in opus fec code
This commit is contained in:
parent
18063a4754
commit
20f9b5c046
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue