From d1ab4dc26f39f6731ea7c71862da53a8e798e1df Mon Sep 17 00:00:00 2001 From: wangyu- Date: Tue, 17 Oct 2017 13:39:25 -0500 Subject: [PATCH] fix inner_mp.size()>mp[seq].data_num+1 warn --- fec_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fec_manager.cpp b/fec_manager.cpp index 2bee5fc..9e67a37 100644 --- a/fec_manager.cpp +++ b/fec_manager.cpp @@ -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);