fix inner_mp.size()>mp[seq].data_num+1 warn

This commit is contained in:
wangyu- 2017-10-17 13:39:25 -05:00
parent fad8d9599a
commit d1ab4dc26f

View File

@ -622,7 +622,7 @@ int fec_decode_manager_t::input(char *s,int len)
{
if(mp[seq].data_num!=-1)
{
if((int)inner_mp.size()>data_num+1)
if((int)inner_mp.size()>mp[seq].data_num+1)
{
mylog(log_warn,"inner_mp.size()>data_num+1\n");
anti_replay.set_invaild(seq);