1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-07 10:48:06 +00:00

FS-7601: [mod_opus] remove a bounds check that can never be true in opus fec code

This commit is contained in:
Michael Jerris 2015-06-09 14:42:44 -04:00
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;
}